VirtualBox

Changeset 2325 in kBuild


Ignore:
Timestamp:
Apr 10, 2009 4:17:25 PM (16 years ago)
Author:
bird
Message:

Backported 2274: footer.kmk,header.kmk: Enhanced tools inhertiance

Location:
branches/kBuild-0.1.5
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/kBuild-0.1.5

    • Property svn:mergeinfo changed
      /trunkmerged: 2274
  • branches/kBuild-0.1.5/kBuild/footer.kmk

    r2243 r2325  
    13371337properties_deferred_r := $(PROPS_ACCUMULATE_R)
    13381338
     1339src_prefix := SDK_
     1340load_function := def_sdk_load_function
     1341$(foreach trg, $(addprefix SDK_,$(_SDKS)), $(evalval def_inherit))
     1342
     1343properties_deferred   := $(PROPS_SINGLE) $(PROPS_DEFERRED) $(PROPS_TOOLS_ONLY)
    13391344src_prefix := TOOL_
    13401345load_function := def_tools_load_function
    13411346$(foreach trg, $(addprefix TOOL_,$(_TOOLS)), $(evalval def_inherit))
    1342 
    1343 src_prefix := SDK_
    1344 load_function := def_sdk_load_function
    1345 $(foreach trg, $(addprefix SDK_,$(_SDKS)), $(evalval def_inherit))
    13461347
    13471348# done inheriting.
  • branches/kBuild-0.1.5/kBuild/header.kmk

    r2322 r2325  
    889889PROPS_ALL = $(PROPS_SINGLE) $(PROPS_DEFERRED) $(PROPS_ACCUMULATE_L) $(PROPS_ACCUMULATE_R)
    890890
    891 
    892891## @name Properties valid on programs (BLDPROGS and PROGRAMS)
    893892## @{
     
    945944PROPS_FETCHES_ACCUMULATE_L   := SOURCES CLEAN
    946945## @}
     946
     947## KBUILD_COMPILE_CATEGTORIES
     948# Tools categories for compiling.
     949KBUILD_COMPILE_CATEGTORIES   := AS C CXX OBJC OBJCXX RC
     950
     951## KBUILD_GENERIC_CATEGORIES
     952# Generic tool categories.
     953KBUILD_GENERIC_CATEGORIES    := FETCH UNPACK PATCH $(addprefix LINK_,LIBRARY PROGRAM DLL SYSMOD MISCBIN)
     954
     955## PROPS_TOOLS_ONLY
     956# Properties found only on tools.
     957# This is expanded in a deferred manner, so it will pick up changes made to
     958# KBUILD_COMPILE_CATEGTORIES and KBUILD_GENERIC_CATEGORIES made by units.
     959PROPS_TOOLS_ONLY              = \
     960        $(foreach cat, $(KBUILD_COMPILE_CATEGTORIES), \
     961                COMPILE_$(cat)_CMDS \
     962                COMPILE_$(cat)_OUTPUT \
     963                COMPILE_$(cat)_OUTPUT_MAYBE \
     964                COMPILE_$(cat)_DEPEND \
     965                COMPILE_$(cat)_DEPORD \
     966                COMPILE_$(cat)_USES_KOBJCACHE ) \
     967        $(foreach cat, $(KBUILD_GENERIC_CATEGORIES), \
     968                $(cat)_CMDS \
     969                $(cat)_OUTPUT \
     970                $(cat)_OUTPUT_MAYBE \
     971                $(cat)_DEPEND \
     972                $(cat)_DEPORD ))
    947973
    948974
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