Changeset 38183 in vbox for trunk/src/VBox/HostDrivers/Support
- Timestamp:
- Jul 26, 2011 1:20:51 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
trunk/src/VBox/HostDrivers/Support/Makefile.kmk
r38082 r38183 5 5 6 6 # 7 # Copyright (C) 2006-201 0Oracle Corporation7 # Copyright (C) 2006-2011 Oracle Corporation 8 8 # 9 9 # This file is part of VirtualBox Open Source Edition (OSE), as … … 51 51 SYSMODS.solaris += vboxdrv 52 52 endif 53 INSTALLS.linux += vboxdrv-mod vboxdrv-sh vboxdrv-dkms54 INSTALLS.freebsd += vboxdrv-mod vboxdrv-sh53 INSTALLS.linux += vboxdrv-mod 54 INSTALLS.freebsd += vboxdrv-mod 55 55 56 56 # … … 185 185 endif 186 186 ifdef VBOX_WITH_VMMR0_DISABLE_PREEMPTION 187 VBoxDrv_DEFS+= VBOX_WITH_VMMR0_DISABLE_PREEMPTION187 VBoxDrv_DEFS += VBOX_WITH_VMMR0_DISABLE_PREEMPTION 188 188 endif 189 189 VBoxDrv_SDKS = W2K3DDK WINPSDKINCS … … 240 240 vboxdrv_DEFS = KBUILD_MODNAME=KBUILD_STR\(vboxdrv\) KBUILD_BASENAME=KBUILD_STR\(vboxdrv\) MODULE IN_RT_R0 IN_SUP_R0 CONFIG_VBOXDRV_AS_MISC 241 241 ifdef VBOX_LINUX_VERSION_2_4 242 vboxdrv_DEFS+= EXPORT_SYMTAB242 vboxdrv_DEFS += EXPORT_SYMTAB 243 243 endif 244 244 vboxdrv_INCS := \ … … 252 252 SUPDrvSem.c 253 253 ifndef VBOX_LINUX_VERSION_2_4 254 vboxdrv_SOURCES+= \255 $(KBUILD_TARGET)/SUPDrv-$(KBUILD_TARGET).mod.c254 vboxdrv_SOURCES += \ 255 $(KBUILD_TARGET)/SUPDrv-$(KBUILD_TARGET).mod.c 256 256 endif 257 257 … … 261 261 # 262 262 vboxdrv-mod_INST = bin/src/vboxdrv/ 263 vboxdrv-mod_MODE = a+r,u+w 264 vboxdrv-mod_SOURCES = $(subst ",,$(FILES_VBOXDRV_NOBIN)) #" 265 vboxdrv-mod_SOURCES += \ 263 vboxdrv-mod_SOURCES = \ 264 $(subst $(DQUOTE),,$(FILES_VBOXDRV_NOBIN)) \ 266 265 $(vboxdrv-mod_0_OUTDIR)/Makefile 266 vboxdrv-mod_EXEC_SOURCES = \ 267 $(subst $(DQUOTE),,$(FILES_VBOXDRV_BIN)) \ 268 $(vboxdrv-mod_0_OUTDIR)/build_in_tmp \ 269 $(PATH_ROOT)/src/VBox/HostDrivers/linux/do_Module.symvers 267 270 vboxdrv-mod_CLEAN = \ 268 $(vboxdrv-mod_0_OUTDIR)/Makefile 269 270 vboxdrv-sh_INST = bin/src/vboxdrv/ 271 vboxdrv-sh_MODE = a+rx,u+w 272 vboxdrv-sh_SOURCES = $(subst ",,$(FILES_VBOXDRV_BIN)) #" 273 vboxdrv-sh_SOURCES += \ 274 $(vboxdrv-sh_0_OUTDIR)/build_in_tmp \ 275 $(PATH_ROOT)/src/VBox/HostDrivers/linux/do_Module.symvers 276 vboxdrv-sh_CLEAN = \ 277 $(PATH_TARGET)/vboxdrv-sh-1.dep \ 278 $(vboxdrv-sh_0_OUTDIR)/build_in_tmp 271 $(vboxdrv-mod_0_OUTDIR)/Makefile \ 272 $(PATH_TARGET)/vboxdrv-mod-1.dep \ 273 $(vboxdrv-mod_0_OUTDIR)/build_in_tmp 279 274 280 275 # Scripts needed for building the kernel modules 281 276 282 $$(vboxdrv- sh_0_OUTDIR)/build_in_tmp: \277 $$(vboxdrv-mod_0_OUTDIR)/build_in_tmp: \ 283 278 $(PATH_ROOT)/src/VBox/HostDrivers/linux/build_in_tmp \ 284 279 $(VBOX_VERSION_STAMP) \ … … 291 286 $(QUIET)chmod 0755 $@ 292 287 293 includedep $(PATH_TARGET)/vboxdrv- sh-1.dep288 includedep $(PATH_TARGET)/vboxdrv-mod-1.dep 294 289 $$(vboxdrv-mod_0_OUTDIR)/Makefile: \ 295 290 $(PATH_SUB_CURRENT)/linux/Makefile \ … … 302 297 $(QUIET)$(CP) -f $< $@ 303 298 endif 304 %$(QUIET2)$(RM) -f -- $(PATH_TARGET)/vboxdrv-sh-1.dep 305 %$(QUIET2)$(APPEND) '$(PATH_TARGET)/vboxdrv-sh-1.dep' 'Support/linux/Makefile_VBOX_HARDENED=$(VBOX_WITH_HARDENING)' 299 %$(QUIET2)$(APPEND) -t '$(PATH_TARGET)/vboxdrv-mod-1.dep' 'Support/linux/Makefile_VBOX_HARDENED=$(VBOX_WITH_HARDENING)' 306 300 307 301 endif # real linux … … 360 354 # Common manual loader script. 361 355 INSTALLS += Scripts 362 Scripts_INST 363 Scripts_ SOURCES = \356 Scripts_INST = $(INST_DIST) 357 Scripts_EXEC_SOURCES = \ 364 358 darwin/load.sh 365 359 … … 417 411 # 418 412 vboxdrv-mod_INST = bin/src/vboxdrv/ 419 vboxdrv-mod_MODE = a+r,u+w 420 vboxdrv-mod_SOURCES = $(subst ",,$(FILES_VBOXDRV_NOBIN)) #" 421 vboxdrv-mod_SOURCES += \ 413 vboxdrv-mod_SOURCES = \ 414 $(subst $(DQUOTE),,$(FILES_VBOXDRV_NOBIN)) \ 422 415 $(vboxdrv-mod_0_OUTDIR)/Makefile 423 416 vboxdrv-mod_CLEAN = \ … … 429 422 | $$(dir $$@) 430 423 $(call MSG_TOOL,Creating,,$@) 424 $(QUIET)$(RM) -f -- $@ 431 425 ifndef VBOX_WITH_HARDENING 432 426 $(QUIET)$(SED) -e "s;-DVBOX_WITH_HARDENING;;g" --output $@ $<
Note:
See TracChangeset
for help on using the changeset viewer.