Changeset 98443 in vbox for trunk/tools/kBuildUnits/vboximportchecker.kmk
- Timestamp:
- Feb 2, 2023 1:03:05 PM (22 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/kBuildUnits/vboximportchecker.kmk
r98108 r98443 37 37 # Helper for expanding certain variables while assigning. 38 38 define def_unit_vboximportchecker_internal_expand_twice 39 $(target)_POST_CMDS += $$(if-expr "$$(tool_do)" != "LINK_LIBRARY",$$(NLTAB)$$(VBOX_RTLDRCHECKIMPORTS) -q -p "$$(KBUILD_DEVTOOLS)/$(bld_trg).$(bld_trg_arch)/exports/$$($(target)_2_VBOX_IMPORT_CHECKER)" $$(out),)39 $(target)_POST_CMDS += $$(if-expr "$$(tool_do)" != "LINK_LIBRARY",$$(NLTAB)$$(VBOX_RTLDRCHECKIMPORTS) -q -p "$$(KBUILD_DEVTOOLS)/$(bld_trg).$(bld_trg_arch)/exports/$$($(target)_2_VBOX_IMPORT_CHECKER)" $$(out),) 40 40 endef 41 41 42 42 define def_unit_vboximportchecker_target_pre 43 # Do not apply to ASAN builds as it requires newere DLLs.44 ifneq ($(KBUILD_TYPE),asan)43 # Do not apply to ASAN builds as it requires newere DLLs. 44 ifneq ($(KBUILD_TYPE),asan) 45 45 46 # Set pass 2 variable (simpler) and act on it. 47 $(target)_2_VBOX_IMPORT_CHECKER := $(evalcall def_fn_prop_get_first_defined,VBOX_IMPORT_CHECKER) 48 ifdef $(target)_2_VBOX_IMPORT_CHECKER 49 $(target)_LNK_ORDERDEPS += $(VBOX_RTLDRCHECKIMPORTS) 50 $(eval $(def_unit_vboximportchecker_internal_expand_twice)) 46 # Set pass 2 variable (simpler) and act on it. 47 $(target)_2_VBOX_IMPORT_CHECKER := $(evalcall def_fn_prop_get_first_defined,VBOX_IMPORT_CHECKER) 48 ifdef $(target)_2_VBOX_IMPORT_CHECKER 49 $(target)_LNK_ORDERDEPS += $(VBOX_RTLDRCHECKIMPORTS) 50 $(eval $(def_unit_vboximportchecker_internal_expand_twice)) 51 endif 52 51 53 endif 52 53 endif54 54 55 55 endef
Note:
See TracChangeset
for help on using the changeset viewer.