VirtualBox

Changeset 89658 in vbox for trunk/src/VBox/Installer/linux


Ignore:
Timestamp:
Jun 13, 2021 10:58:50 PM (4 years ago)
Author:
vboxsync
Message:

Installer/linux/Makefile.kmk: Backed out vkat hack. bugref:10008

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/linux/Makefile.kmk

    r89626 r89658  
    355355endif
    356356
    357 ifdef VBOX_WITH_VALIDATIONKIT
    358  # Validation Kit Audio Test (VKAT).
    359  VBOX_LNX_STRIP_VALKIT_BIN += vkat
    360 endif
    361 
    362357# The sanitizer shared objects match the compiler we're using (HACK).
    363358ifeq ($(KBUILD_TYPE),asan)
     
    381376# All the bin files that goes into the archives.
    382377#
    383 VBOX_LNX_ARCH_FILES := $(VBOX_LNX_STRIP_BIN) $(VBOX_LNX_STRIP_VALKIT_BIN) $(VBOX_LNX_STRIP_OBJ) $(VBOX_LNX_NO_STRIP) src
     378VBOX_LNX_ARCH_FILES := $(VBOX_LNX_STRIP_BIN) $(VBOX_LNX_STRIP_OBJ) $(VBOX_LNX_NO_STRIP) src
    384379
    385380# Cleanup of the files we copy/symlink from bin.
    386381OTHER_CLEAN += $(addprefix $(VBOX_LNX_INST_OUT_DIR)/archive/,$(filter-out src,$(VBOX_LNX_ARCH_FILES)) src/vboxhost) \
    387382               $(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))
    389384
    390385#
     
    477472$(addprefix $(VBOX_LNX_INST_OUT_DIR)/archive/,$(VBOX_LNX_STRIP_BIN)): \
    478473                $(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)/% \
    489474                $(if $(VBOX_NO_LINUX_RUN_INSTALLER),,\
    490475                    $(VBOX_LNX_INST_OUT_DIR)/archive-dbg/$(VBOX_LNX_DBG_PATH)/%) \
     
    567552$(PATH_STAGE_BIN)/VirtualBox-dbg.tar.bz2: \
    568553                $(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))
    570555        $(call MSG_L1,Packing $@)
    571556        $(QUIET)$(RM) -f -- $@ $(patsubst %.bz2,%,$@)
     
    573558        $(QUIET)tar --dereference --owner 0 --group 0 \
    574559                -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))
    576561        $(QUIET)pbzip2 $(patsubst %.bz2,%,$@)
    577562else
    578563        $(QUIET)tar --dereference --owner 0 --group 0 \
    579564                -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))
    581566endif
    582567
     
    587572        $(QUIET)objcopy --only-keep-debug $< $@
    588573
    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 
    595574# rules for creating directories in archive-dbg (the pattern rules depends on these).
    596575BLDDIRS += $(foreach d,\
     
    600579
    601580include $(FILE_KBUILD_SUB_FOOTER)
     581
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette