Changeset 89626 in vbox for trunk/src/VBox/Installer/linux
- Timestamp:
- Jun 11, 2021 10:58:34 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/linux/Makefile.kmk
r89486 r89626 355 355 endif 356 356 357 ifdef VBOX_WITH_VALIDATIONKIT 358 # Validation Kit Audio Test (VKAT). 359 VBOX_LNX_STRIP_VALKIT_BIN += vkat 360 endif 361 357 362 # The sanitizer shared objects match the compiler we're using (HACK). 358 363 ifeq ($(KBUILD_TYPE),asan) … … 376 381 # All the bin files that goes into the archives. 377 382 # 378 VBOX_LNX_ARCH_FILES := $(VBOX_LNX_STRIP_BIN) $(VBOX_LNX_STRIP_ OBJ) $(VBOX_LNX_NO_STRIP) src383 VBOX_LNX_ARCH_FILES := $(VBOX_LNX_STRIP_BIN) $(VBOX_LNX_STRIP_VALKIT_BIN) $(VBOX_LNX_STRIP_OBJ) $(VBOX_LNX_NO_STRIP) src 379 384 380 385 # Cleanup of the files we copy/symlink from bin. 381 386 OTHER_CLEAN += $(addprefix $(VBOX_LNX_INST_OUT_DIR)/archive/,$(filter-out src,$(VBOX_LNX_ARCH_FILES)) src/vboxhost) \ 382 387 $(addprefix $(VBOX_LNX_INST_OUT_DIR)/archive-dbg/$(VBOX_LNX_DBG_PATH)/,\ 383 $(VBOX_LNX_STRIP_BIN) $(VBOX_LNX_DBG_BIN) )388 $(VBOX_LNX_STRIP_BIN) $(VBOX_LNX_DBG_BIN) $(VBOX_LNX_STRIP_VALKIT_BIN)) 384 389 385 390 # … … 472 477 $(addprefix $(VBOX_LNX_INST_OUT_DIR)/archive/,$(VBOX_LNX_STRIP_BIN)): \ 473 478 $(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)/% \ 474 489 $(if $(VBOX_NO_LINUX_RUN_INSTALLER),,\ 475 490 $(VBOX_LNX_INST_OUT_DIR)/archive-dbg/$(VBOX_LNX_DBG_PATH)/%) \ … … 552 567 $(PATH_STAGE_BIN)/VirtualBox-dbg.tar.bz2: \ 553 568 $(addprefix $(VBOX_LNX_INST_OUT_DIR)/archive-dbg/$(VBOX_LNX_DBG_PATH)/,\ 554 $(VBOX_LNX_STRIP_BIN) $(VBOX_LNX_DBG_BIN ))569 $(VBOX_LNX_STRIP_BIN) $(VBOX_LNX_DBG_BIN $(VBOX_LNX_STRIP_VALKIT_BIN))) 555 570 $(call MSG_L1,Packing $@) 556 571 $(QUIET)$(RM) -f -- $@ $(patsubst %.bz2,%,$@) … … 558 573 $(QUIET)tar --dereference --owner 0 --group 0 \ 559 574 -cRhf $(patsubst %.bz2,%,$@) -C $(VBOX_LNX_INST_OUT_DIR)/archive-dbg \ 560 $(addprefix $(VBOX_LNX_DBG_PATH)/,$(VBOX_LNX_STRIP_BIN) $(VBOX_LNX_DBG_BIN) )575 $(addprefix $(VBOX_LNX_DBG_PATH)/,$(VBOX_LNX_STRIP_BIN) $(VBOX_LNX_DBG_BIN) $(VBOX_LNX_STRIP_VALKIT_BIN)) 561 576 $(QUIET)pbzip2 $(patsubst %.bz2,%,$@) 562 577 else 563 578 $(QUIET)tar --dereference --owner 0 --group 0 \ 564 579 -cjRhf $@ -C $(VBOX_LNX_INST_OUT_DIR)/archive-dbg \ 565 $(addprefix $(VBOX_LNX_DBG_PATH)/,$(VBOX_LNX_STRIP_BIN) $(VBOX_LNX_DBG_BIN) )580 $(addprefix $(VBOX_LNX_DBG_PATH)/,$(VBOX_LNX_STRIP_BIN) $(VBOX_LNX_DBG_BIN) $(VBOX_LNX_STRIP_VALKIT_BIN)) 566 581 endif 567 582 … … 572 587 $(QUIET)objcopy --only-keep-debug $< $@ 573 588 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 574 595 # rules for creating directories in archive-dbg (the pattern rules depends on these). 575 596 BLDDIRS += $(foreach d,\ … … 579 600 580 601 include $(FILE_KBUILD_SUB_FOOTER) 581
Note:
See TracChangeset
for help on using the changeset viewer.