Changeset 14015 in vbox for trunk/src/VBox/HostDrivers/Support
- Timestamp:
- Nov 10, 2008 1:57:45 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 39069
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/Makefile.kmk
r13707 r14015 52 52 SYSMODS.solaris += vboxdrv 53 53 endif 54 OTHERS.linux += \ 55 $(PATH_BIN)/src/build_in_tmp \ 56 $(PATH_BIN)/src/Makefile \ 57 $(if $(VBOX_OSE),,$(PATH_BIN)/src/dkms.conf) 58 INSTALLS.linux += vboxmod-bin vboxmod-sh 54 INSTALLS.linux += vboxdrv-mod vboxdrv-sh 59 55 60 56 # … … 218 214 219 215 # 220 # vboxdrv.ko - The Linux Kernel Module (syntax only).216 # vboxdrv.ko - The Linux Kernel Module (syntax check only). 221 217 # 222 218 ifeq ($(KBUILD_TARGET),linux) … … 247 243 # Targets for installing the linux sources. 248 244 # 249 vboxmod-bin_INST = bin/src/ 250 vboxmod-bin_MODE = a+r,u+w 251 vboxmod-bin_SOURCES = $(subst ",,$(FILES_VBOXDRV_NOBIN)) #" 252 253 vboxmod-sh_INST = bin/src/ 254 vboxmod-sh_MODE = a+rx,u+w 255 vboxmod-sh_SOURCES = $(subst ",,$(FILES_VBOXDRV_BIN)) #" 256 vboxmod-sh_CLEAN = $(PATH_TARGET)/vboxmod-sh-1.dep 245 vboxdrv-mod_INST = bin/src/vboxdrv/ 246 vboxdrv-mod_MODE = a+r,u+w 247 vboxdrv-mod_SOURCES = $(subst ",,$(FILES_VBOXDRV_NOBIN)) #" 248 vboxdrv-mod_SOURCES += \ 249 $(if $(VBOX_OSE),,$(PATH_vboxdrv-mod)/dkms.conf) \ 250 $(PATH_vboxdrv-mod)/Makefile 251 vboxdrv-mod_CLEAN = \ 252 $(PATH_vboxdrv-mod)/dkms.conf \ 253 $(PATH_vboxdrv-mod)/Makefile 254 255 vboxdrv-sh_INST = bin/src/vboxdrv 256 vboxdrv-sh_MODE = a+rx,u+w 257 vboxdrv-sh_SOURCES = $(subst ",,$(FILES_VBOXDRV_BIN)) #" 258 vboxdrv-sh_SOURCES += $(PATH_vboxdrv-sh)/build_in_tmp 259 vboxdrv-sh_CLEAN = \ 260 $(PATH_TARGET)/vboxdrv-sh-1.dep \ 261 $(PATH_vboxdrv-sh)/build_in_tmp 262 257 263 258 264 # Scripts needed for building the kernel modules 259 ## @todo generate these else where and move them from OTHERS to vboxmod-bin (which btw installs NOBIN files contrary to its name). 260 261 $(PATH_BIN)/src/build_in_tmp: \ 265 266 $$(PATH_vboxdrv-sh)/build_in_tmp: \ 262 267 $(PATH_SUB_CURRENT)/linux/build_in_tmp \ 263 $(VBOX_VERSION_STAMP) 268 $(VBOX_VERSION_STAMP) \ 269 | $$(dir $$@) 264 270 $(call MSG_TOOL,Creating,,$@) 265 271 $(QUIET)$(SED) -e "s;_VERSION_;${VBOX_VERSION_STRING};g; s;_MODULE_;vboxdrv;g" --output $@ $< 266 272 $(QUIET)chmod 0755 $@ 267 273 268 $ (PATH_BIN)/src/dkms.conf: \274 $$(PATH_vboxdrv-mod)/dkms.conf: \ 269 275 $(PATH_SUB_CURRENT)/linux/dkms.conf \ 270 $(VBOX_VERSION_STAMP) 276 $(VBOX_VERSION_STAMP) \ 277 | $$(dir $$@) 271 278 $(call MSG_TOOL,Creating,,$@) 272 279 $(QUIET)$(SED) -e "s;_VERSION_;${VBOX_VERSION_STRING};g" --output $@ $< 273 280 274 includedep $(PATH_TARGET)/vbox mod-sh-1.dep275 $ (PATH_BIN)/src/Makefile: \281 includedep $(PATH_TARGET)/vboxdrv-sh-1.dep 282 $$(PATH_vboxdrv-mod)/Makefile: \ 276 283 $(PATH_SUB_CURRENT)/linux/Makefile \ 277 284 $$(if $$(eq $$(Support/linux/Makefile_VBOX_HARDENED),$$(VBOX_WITH_HARDENING)),,FORCE) \ 278 | $ (PATH_TARGET)/285 | $$(dir $$@) 279 286 $(call MSG_TOOL,Creating,,$@) 280 287 ifndef VBOX_WITH_HARDENING … … 283 290 $(QUIET)$(CP) -f $< $@ 284 291 endif 285 %$(QUIET2)$(RM) -f -- $(PATH_TARGET)/vbox mod-sh-1.dep286 %$(QUIET2)$(APPEND) '$(PATH_TARGET)/vbox mod-sh-1.dep' 'Support/linux/Makefile_VBOX_HARDENED=$(VBOX_WITH_HARDENING)'292 %$(QUIET2)$(RM) -f -- $(PATH_TARGET)/vboxdrv-sh-1.dep 293 %$(QUIET2)$(APPEND) '$(PATH_TARGET)/vboxdrv-sh-1.dep' 'Support/linux/Makefile_VBOX_HARDENED=$(VBOX_WITH_HARDENING)' 287 294 288 295 endif # real linux
Note:
See TracChangeset
for help on using the changeset viewer.