Changeset 89658 in vbox for trunk/src/VBox/Installer/linux
- Timestamp:
- Jun 13, 2021 10:58:50 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/linux/Makefile.kmk
r89626 r89658 355 355 endif 356 356 357 ifdef VBOX_WITH_VALIDATIONKIT358 # Validation Kit Audio Test (VKAT).359 VBOX_LNX_STRIP_VALKIT_BIN += vkat360 endif361 362 357 # The sanitizer shared objects match the compiler we're using (HACK). 363 358 ifeq ($(KBUILD_TYPE),asan) … … 381 376 # All the bin files that goes into the archives. 382 377 # 383 VBOX_LNX_ARCH_FILES := $(VBOX_LNX_STRIP_BIN) $(VBOX_LNX_STRIP_ VALKIT_BIN) $(VBOX_LNX_STRIP_OBJ) $(VBOX_LNX_NO_STRIP) src378 VBOX_LNX_ARCH_FILES := $(VBOX_LNX_STRIP_BIN) $(VBOX_LNX_STRIP_OBJ) $(VBOX_LNX_NO_STRIP) src 384 379 385 380 # Cleanup of the files we copy/symlink from bin. 386 381 OTHER_CLEAN += $(addprefix $(VBOX_LNX_INST_OUT_DIR)/archive/,$(filter-out src,$(VBOX_LNX_ARCH_FILES)) src/vboxhost) \ 387 382 $(addprefix $(VBOX_LNX_INST_OUT_DIR)/archive-dbg/$(VBOX_LNX_DBG_PATH)/,\ 388 $(VBOX_LNX_STRIP_BIN) $(VBOX_LNX_DBG_BIN) $(VBOX_LNX_STRIP_VALKIT_BIN))383 $(VBOX_LNX_STRIP_BIN) $(VBOX_LNX_DBG_BIN)) 389 384 390 385 # … … 477 472 $(addprefix $(VBOX_LNX_INST_OUT_DIR)/archive/,$(VBOX_LNX_STRIP_BIN)): \ 478 473 $(VBOX_LNX_INST_OUT_DIR)/archive/% : $(PATH_STAGE_BIN)/% \ 479 $(if $(VBOX_NO_LINUX_RUN_INSTALLER),,\480 $(VBOX_LNX_INST_OUT_DIR)/archive-dbg/$(VBOX_LNX_DBG_PATH)/%) \481 | $$(dir $$@)482 $(call MSG_INST_FILE,$<,$@)483 $(QUIET)$(INSTALL) -m 0755 $(if $(VBOX_DO_STRIP),-s,) $< $@484 $(QUIET)$(if $(VBOX_NO_LINUX_RUN_INSTALLER),,objcopy --add-gnu-debuglink=$(subst $(VBOX_LNX_INST_OUT_DIR)/archive,$(VBOX_LNX_INST_OUT_DIR)/archive-dbg/$(VBOX_LNX_DBG_PATH),$@) $@)485 486 # pattern rule for stripping and copying the VBOX_LNX_STRIP_VALKIT_BIN files to archive/487 $(addprefix $(VBOX_LNX_INST_OUT_DIR)/archive/,$(VBOX_LNX_STRIP_VALKIT_BIN)): \488 $(VBOX_LNX_INST_OUT_DIR)/archive/% : $(VBOX_PATH_VALIDATIONKIT_BIN)/% \489 474 $(if $(VBOX_NO_LINUX_RUN_INSTALLER),,\ 490 475 $(VBOX_LNX_INST_OUT_DIR)/archive-dbg/$(VBOX_LNX_DBG_PATH)/%) \ … … 567 552 $(PATH_STAGE_BIN)/VirtualBox-dbg.tar.bz2: \ 568 553 $(addprefix $(VBOX_LNX_INST_OUT_DIR)/archive-dbg/$(VBOX_LNX_DBG_PATH)/,\ 569 $(VBOX_LNX_STRIP_BIN) $(VBOX_LNX_DBG_BIN $(VBOX_LNX_STRIP_VALKIT_BIN)))554 $(VBOX_LNX_STRIP_BIN) $(VBOX_LNX_DBG_BIN)) 570 555 $(call MSG_L1,Packing $@) 571 556 $(QUIET)$(RM) -f -- $@ $(patsubst %.bz2,%,$@) … … 573 558 $(QUIET)tar --dereference --owner 0 --group 0 \ 574 559 -cRhf $(patsubst %.bz2,%,$@) -C $(VBOX_LNX_INST_OUT_DIR)/archive-dbg \ 575 $(addprefix $(VBOX_LNX_DBG_PATH)/,$(VBOX_LNX_STRIP_BIN) $(VBOX_LNX_DBG_BIN) $(VBOX_LNX_STRIP_VALKIT_BIN))560 $(addprefix $(VBOX_LNX_DBG_PATH)/,$(VBOX_LNX_STRIP_BIN) $(VBOX_LNX_DBG_BIN)) 576 561 $(QUIET)pbzip2 $(patsubst %.bz2,%,$@) 577 562 else 578 563 $(QUIET)tar --dereference --owner 0 --group 0 \ 579 564 -cjRhf $@ -C $(VBOX_LNX_INST_OUT_DIR)/archive-dbg \ 580 $(addprefix $(VBOX_LNX_DBG_PATH)/,$(VBOX_LNX_STRIP_BIN) $(VBOX_LNX_DBG_BIN) $(VBOX_LNX_STRIP_VALKIT_BIN))565 $(addprefix $(VBOX_LNX_DBG_PATH)/,$(VBOX_LNX_STRIP_BIN) $(VBOX_LNX_DBG_BIN)) 581 566 endif 582 567 … … 587 572 $(QUIET)objcopy --only-keep-debug $< $@ 588 573 589 # pattern rule for copying the debug info from the VBOX_LNX_STRIP_VALKIT_BIN files into archive-dbg/$(VBOX_LNX_DBG_PATH)/590 $(addprefix $(VBOX_LNX_INST_OUT_DIR)/archive-dbg/$(VBOX_LNX_DBG_PATH)/,$(VBOX_LNX_STRIP_VALKIT_BIN)): \591 $(VBOX_LNX_INST_OUT_DIR)/archive-dbg/$(VBOX_LNX_DBG_PATH)/% : $(VBOX_PATH_VALIDATIONKIT_BIN)/% | $$(dir $$@)592 $(call MSG_TOOL,copydbg,$<,$@)593 $(QUIET)objcopy --only-keep-debug $< $@594 595 574 # rules for creating directories in archive-dbg (the pattern rules depends on these). 596 575 BLDDIRS += $(foreach d,\ … … 600 579 601 580 include $(FILE_KBUILD_SUB_FOOTER) 581
Note:
See TracChangeset
for help on using the changeset viewer.