Changeset 94861 in vbox for trunk/src/VBox/ValidationKit
- Timestamp:
- May 5, 2022 5:08:34 PM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 151261
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/Config.kmk
r94853 r94861 39 39 40 40 # 41 # Base template that drops the -static flag since we only want to use the 42 # static version of our own libraries and not the system libs. 43 # 44 TEMPLATE_VBoxValidationKitR3Base = VBox Validation Kit ring-3 program base, both guest and host. 45 TEMPLATE_VBoxValidationKitR3Base_EXTENDS = VBoxR3Static 46 ifeq ($(KBUILD_TARGET),win) 47 TEMPLATE_VBoxValidationKitR3Base_LDFLAGS = $(filter-out -IntegrityCheck, $(TEMPLATE_VBoxR3Static_LDFLAGS)) 48 else ifn1of ($(KBUILD_TARGET), darwin solaris win) 49 TEMPLATE_VBoxValidationKitR3Base_CFLAGS = $(filter-out -static, $(TEMPLATE_VBoxR3Static_CFLAGS)) 50 TEMPLATE_VBoxValidationKitR3Base_CXXFLAGS = $(filter-out -static, $(TEMPLATE_VBoxR3Static_CXXFLAGS)) 51 TEMPLATE_VBoxValidationKitR3Base_OBJCFLAGS = $(filter-out -static, $(TEMPLATE_VBoxR3Static_OBJCFLAGS)) 52 TEMPLATE_VBoxValidationKitR3Base_LDFLAGS = $(filter-out -static, $(TEMPLATE_VBoxR3Static_LDFLAGS)) 53 endif 54 TEMPLATE_VBoxValidationKitR3Base_DEFS = $(filter-out VBOX_WITH_DTRACE,$(TEMPLATE_VBoxR3Static_DEFS)) 55 TEMPLATE_VBoxValidationKitR3Base_LIBS = $(TEMPLATE_VBoxR3Static_LIBS) 56 if1of ($(KBUILD_TARGET), linux) 57 if $(VBOX_GCC_VERSION_CXX) < 40800 58 TEMPLATE_VBoxValidationKitR3Base_LIBS += supc++ 59 TEMPLATE_VBoxValidationKitR3Base_LDTOOL = $(subst GXX,GCC,$(TEMPLATE_VBoxR3Static_TOOL)) 60 endif 61 endif 62 TEMPLATE_VBoxValidationKitR3Base_LDFLAGS.darwin = $(TEMPLATE_VBoxR3Static_LDFLAGS.darwin) -framework IOKit 63 64 # 65 # Template for building ring-3 progams for the Validation Kit. 41 # Template for building ring-3 programs for the Validation Kit. 66 42 # These programs can run on any host or guest. 67 43 # 68 44 TEMPLATE_VBoxValidationKitR3 = VBox Validation Kit ring-3 program, both guest and host. 69 TEMPLATE_VBoxValidationKitR3_EXTENDS = VB oxValidationKitR3Base45 TEMPLATE_VBoxValidationKitR3_EXTENDS = VBOXVALIDATIONKITR3BASE 70 46 TEMPLATE_VBoxValidationKitR3_EXTENDS_BY = appending 71 47 TEMPLATE_VBoxValidationKitR3_INST = $(INST_VALIDATIONKIT)$(KBUILD_TARGET)/$(KBUILD_TARGET_ARCH)/ … … 102 78 -Section:.bss,RW!K 103 79 ifeq ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),win.x86) 104 TEMPLATE_VBoxValidationKitR3_POST_CMDS = $(if $(eq $(tool_do),LINK_LIBRARY),,$(VBOX_PE_SET_VERSION) $(out)$$(NLTAB))$(TEMPLATE_VB oxValidationKitR3Base_POST_CMDS)$$(NLTAB)80 TEMPLATE_VBoxValidationKitR3_POST_CMDS = $(if $(eq $(tool_do),LINK_LIBRARY),,$(VBOX_PE_SET_VERSION) $(out)$$(NLTAB))$(TEMPLATE_VBOXVALIDATIONKITR3BASE_POST_CMDS)$$(NLTAB) 105 81 endif 106 82 TEMPLATE_VBoxValidationKitR3_LNK_DEPS.win.x86 = $(if $(eq $(tool_do),LINK_LIBRARY),,$(VBOX_PE_SET_VERSION)) … … 225 201 endef 226 202 endif 227
Note:
See TracChangeset
for help on using the changeset viewer.