VirtualBox

Ignore:
Timestamp:
Feb 2, 2023 1:03:05 PM (22 months ago)
Author:
vboxsync
Message:

tools/*.kmk: Automatic scm cleanups. bugref:10348

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/kBuildUnits/vboximportchecker.kmk

    r98108 r98443  
    3737# Helper for expanding certain variables while assigning.
    3838define 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),)
    4040endef
    4141
    4242define 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)
    4545
    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
    5153 endif
    52 
    53 endif
    5454
    5555endef
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