Changeset 31637 in vbox for trunk/src/VBox
- Timestamp:
- Aug 13, 2010 12:12:41 PM (14 years ago)
- Location:
- trunk/src/VBox/Additions/linux
- Files:
-
- 4 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/Makefile.kmk
r31143 r31637 65 65 # Targets 66 66 # 67 ifndef VBOX_OSE 68 # OSE only contains the source code for this 69 VBOX_SELINUX_CMPLD := $(PATH_SUB_CURRENT)/selinux-fedora/vbox_x11.pp 70 VBOX_LNX_ADD_ARCHIVE.x86 := $(PATH_OUT_BASE)/linux.x86/$(KBUILD_TYPE)/bin/additions/VBoxGuestAdditions-x86-r$(VBOX_SVN_REV).tar.bz2 71 VBOX_LNX_ADD_ARCHIVE.amd64 := $(PATH_OUT_BASE)/linux.amd64/$(KBUILD_TYPE)/bin/additions/VBoxGuestAdditions-amd64-r$(VBOX_SVN_REV).tar.bz2 72 ifndef VBOX_WITH_COMBINED_LINUX_GUEST_PACKAGE 73 VBOX_LNX_ADD_ARCHIVES := $(PATH_BIN)/additions/VBoxGuestAdditions-$(KBUILD_TARGET_ARCH)-r$(VBOX_SVN_REV).tar.bz2 74 else 75 VBOX_LNX_ADD_ARCHIVES := \ 76 $(VBOX_LNX_ADD_ARCHIVE.x86) \ 77 $(VBOX_LNX_ADD_ARCHIVE.amd64) 78 endif 79 BLDDIRS += \ 80 $(VBOX_LNX_ADD_INST_OUT_DIR) \ 81 $(VBOX_LNX_ADD_INST_BIN_DIR) \ 82 $(VBOX_LNX_ADD_INST_SBIN_DIR) \ 83 $(VBOX_LNX_ADD_INST_LIB_DIR) \ 84 $(VBOX_LNX_ADD_INST_MOD_DIR) \ 85 $(VBOX_LNX_ADD_INST_KMOD_DIR) \ 86 $(VBOX_LNX_ADD_INST_INIT_DIR) \ 87 $(VBOX_LNX_ADD_INST_DBG_DIR) \ 88 $(VBOX_LNX_ADD_DBG_BIN_DIR) \ 89 $(VBOX_LNX_ADD_DBG_SBIN_DIR) \ 90 $(VBOX_LNX_ADD_DBG_LIB_DIR) \ 91 $(VBOX_LNX_ADD_DBG_MOD_DIR) \ 92 $(VBOX_LNX_ADD_INST_STAGE_DIR) 93 # Use VBOX_WITHOUT_LINUX_GUEST_PACKAGE to skip building the .run installer. 94 # This will only take effect if you also use VBOX_WITHOUT_ADDITIONS_ISO. 95 PACKING += \ 96 $(if-expr !defined(VBOX_WITHOUT_LINUX_GUEST_PACKAGE), $(PATH_BIN)/additions/VBoxLinuxAdditions.run,) \ 97 $(VBOX_LNX_ADD_ARCHIVES) \ 98 $(PATH_BIN)/additions/VBoxGuestAdditions-dbg.tar.bz2 99 OTHER_CLEAN += \ 100 $(PACKING) \ 101 $(foreach file, $(VBOX_LNX_ADD_ARCHIVES), $(VBOX_LNX_ADD_INST_STAGE_DIR)$(subst -r$(VBOX_SVN_REV),,$(notdir $(file)))) 102 endif # !VBOX_OSE 67 VBOX_SELINUX_CMPLD := $(PATH_SUB_CURRENT)/selinux-fedora/vbox_x11.pp 68 VBOX_LNX_ADD_ARCHIVE.x86 := $(PATH_OUT_BASE)/linux.x86/$(KBUILD_TYPE)/bin/additions/VBoxGuestAdditions-x86-r$(VBOX_SVN_REV).tar.bz2 69 VBOX_LNX_ADD_ARCHIVE.amd64 := $(PATH_OUT_BASE)/linux.amd64/$(KBUILD_TYPE)/bin/additions/VBoxGuestAdditions-amd64-r$(VBOX_SVN_REV).tar.bz2 70 ifndef VBOX_WITH_COMBINED_LINUX_GUEST_PACKAGE 71 VBOX_LNX_ADD_ARCHIVES := $(PATH_BIN)/additions/VBoxGuestAdditions-$(KBUILD_TARGET_ARCH)-r$(VBOX_SVN_REV).tar.bz2 72 else 73 VBOX_LNX_ADD_ARCHIVES := \ 74 $(VBOX_LNX_ADD_ARCHIVE.x86) \ 75 $(VBOX_LNX_ADD_ARCHIVE.amd64) 76 endif 77 BLDDIRS += \ 78 $(VBOX_LNX_ADD_INST_OUT_DIR) \ 79 $(VBOX_LNX_ADD_INST_BIN_DIR) \ 80 $(VBOX_LNX_ADD_INST_SBIN_DIR) \ 81 $(VBOX_LNX_ADD_INST_LIB_DIR) \ 82 $(VBOX_LNX_ADD_INST_MOD_DIR) \ 83 $(VBOX_LNX_ADD_INST_KMOD_DIR) \ 84 $(VBOX_LNX_ADD_INST_INIT_DIR) \ 85 $(VBOX_LNX_ADD_INST_DBG_DIR) \ 86 $(VBOX_LNX_ADD_DBG_BIN_DIR) \ 87 $(VBOX_LNX_ADD_DBG_SBIN_DIR) \ 88 $(VBOX_LNX_ADD_DBG_LIB_DIR) \ 89 $(VBOX_LNX_ADD_DBG_MOD_DIR) \ 90 $(VBOX_LNX_ADD_INST_STAGE_DIR) 91 # Use VBOX_WITHOUT_LINUX_GUEST_PACKAGE to skip building the .run installer. 92 # This will only take effect if you also use VBOX_WITHOUT_ADDITIONS_ISO. 93 PACKING += \ 94 $(if-expr !defined(VBOX_WITHOUT_LINUX_GUEST_PACKAGE), $(PATH_BIN)/additions/VBoxLinuxAdditions.run,) \ 95 $(VBOX_LNX_ADD_ARCHIVES) \ 96 $(PATH_BIN)/additions/VBoxGuestAdditions-dbg.tar.bz2 97 OTHER_CLEAN += \ 98 $(PACKING) \ 99 $(foreach file, $(VBOX_LNX_ADD_ARCHIVES), $(VBOX_LNX_ADD_INST_STAGE_DIR)$(subst -r$(VBOX_SVN_REV),,$(notdir $(file)))) 103 100 104 101 … … 306 303 307 304 308 ifndef VBOX_OSE 309 INSTALLS += lnx_add_inst-exec 310 lnx_add_inst-exec_INST = $(subst $(PATH_TARGET),obj,$(VBOX_LNX_ADD_INST_MOD_DIR)) 311 lnx_add_inst-exec_MODE = a+rx,u+w 312 lnx_add_inst-exec_SOURCES = \ 305 INSTALLS += lnx_add_inst-exec 306 lnx_add_inst-exec_INST = $(subst $(PATH_TARGET),obj,$(VBOX_LNX_ADD_INST_MOD_DIR)) 307 lnx_add_inst-exec_MODE = a+rx,u+w 308 lnx_add_inst-exec_SOURCES = \ 313 309 $(VBOX_REL_X11_ADD_INST)98vboxadd-xclient \ 314 310 $(VBOX_REL_X11_ADD_INST)x11config-new.pl 315 311 316 312 317 318 319 320 313 INSTALLS += lnx_add_inst-noexec 314 lnx_add_inst-noexec_INST = $(subst $(PATH_TARGET),obj,$(VBOX_LNX_ADD_INST_SHARE_DIR)$(VBOX_LNX_ADD_PACKAGE_NAME))/ 315 lnx_add_inst-noexec_MODE = a+r,u+w 316 lnx_add_inst-noexec_SOURCES = \ 321 317 $(VBOX_REL_X11_ADD_INST)vboxclient.desktop \ 322 318 $(VBOX_REL_X11_ADD_INST)vboxvideo.ids \ … … 327 323 328 324 329 330 331 332 333 334 335 336 337 338 339 340 341 325 INSTALLS += AutoRun-sh 326 AutoRun-sh_INST = bin/additions/ 327 AutoRun-sh_MODE = a+rx,u+w 328 AutoRun-sh_SOURCES = $(VBOX_REL_LNX_ADD_INST)autorun.sh 329 330 331 # 332 # Install the sources of our (sanity) test kernel module 333 # 334 INSTALLS += LnxAddTest-src 335 LnxAddTest-src_INST = $(subst $(PATH_TARGET),obj,$(VBOX_LNX_ADD_INST_SHARE_DIR)$(VBOX_LNX_ADD_PACKAGE_NAME))/test/ 336 LnxAddTest-src_MODE = a+r,u+w 337 LnxAddTest-src_SOURCES = \ 342 338 $(VBOX_REL_LNX_ADD_INST)Makefile.test=>Makefile \ 343 339 ../../HostDrivers/linux/build_in_tmp \ … … 345 341 346 342 347 348 349 350 351 352 353 343 # 344 # Install the sources of our (sanity) test kernel rendering (DRM) module 345 # 346 INSTALLS += LnxAddDRM-src 347 LnxAddDRM-src_INST = $(subst $(PATH_TARGET),obj,$(VBOX_LNX_ADD_INST_SHARE_DIR)$(VBOX_LNX_ADD_PACKAGE_NAME))/test_drm/ 348 LnxAddDRM-src_MODE = a+r,u+w 349 LnxAddDRM-src_SOURCES = \ 354 350 $(VBOX_REL_LNX_ADD_INST)Makefile.include.header \ 355 351 $(VBOX_REL_LNX_ADD_INST)Makefile.include.footer \ … … 359 355 360 356 361 362 363 364 365 366 367 368 357 # 358 # We need our routines.sh and the uninstallation scripts in the staging 359 # directory too 360 # 361 INSTALLS += LnxAdd-scripts 362 LnxAdd-scripts_INST = $(subst $(PATH_TARGET),obj,$(VBOX_LNX_ADD_INST_STAGE_DIR)) 363 LnxAdd-scripts_MODE = a+rx,u+w 364 LnxAdd-scripts_SOURCES = \ 369 365 $(VBOX_REL_LNX_INST_SRC)routines.sh \ 370 366 $(VBOX_REL_LNX_ADD_INST)vboxadd.sh=>vboxadd \ … … 374 370 375 371 376 377 378 379 380 381 382 372 # 373 # VBoxClient-all 374 # 375 INSTALLS += LnxAdd-Nostrip-Bin 376 LnxAdd-Nostrip-Bin_INST = $(subst $(PATH_TARGET),obj,$(VBOX_LNX_ADD_INST_BIN_DIR)) 377 LnxAdd-Nostrip-Bin_MODE = a+rx,u+w 378 LnxAdd-Nostrip-Bin_SOURCES = \ 383 379 $(VBOX_REL_X11_ADD_INST)98vboxadd-xclient=>VBoxClient-all 384 380 385 381 386 387 388 389 390 391 392 382 # 383 # And the init scripts 384 # 385 INSTALLS += LnxAdd-init-scripts 386 LnxAdd-init-scripts_INST = bin/additions 387 LnxAdd-init-scripts_MODE = a+rx,u+w 388 LnxAdd-init-scripts_SOURCES = \ 393 389 $(foreach i,$(VBOX_LNX_ADD_INIT), installer/$(i).sh=>$(i)) 394 endif # ! VBOX_OSE395 390 396 391
Note:
See TracChangeset
for help on using the changeset viewer.