VirtualBox

Changeset 889 in kBuild for trunk


Ignore:
Timestamp:
May 2, 2007 10:37:57 PM (18 years ago)
Author:
bird
Message:

Implemented the NAME property.

Location:
trunk/kBuild
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/footer.kmk

    r874 r889  
    581581bld_trg_cpu := $(firstword $($(target)_BLD_TRG_CPU)  $(BUILD_$(bld_trg_base_var)_CPU))
    582582
    583 tool := $(call _TARGET_TOOL,$(target),$(tool_prefix))
    584 outbase := $(call TARGET_BASE,$(target),$(target))
     583tool        := $(call _TARGET_TOOL,$(target),$(tool_prefix))
     584name        := $(firstword\
     585        $($(target)_NAME.$(bld_trg).$(bld_trg_arch))\
     586        $($(target)_NAME.$(bld_trg_arch))\
     587        $($(target)_NAME.$(bld_trg))\
     588        $($(target)_NAME.$(bld_type))\
     589        $($(target)_NAME)\
     590        $(target))
     591outbase     := $(call TARGET_BASE,$(name),$(target))
    585592ifndef PATH_$(target)
    586593 PATH_$(target) := $(patsubst %/,%,$(dir $(outbase)))
     
    13401347$(error kBuild: Library target $(target) does not have a tool defined!)
    13411348endif
    1342 outbase     := $(call TARGET_BASE,$(target),$(target))
     1349name        := $(firstword\
     1350        $($(target)_NAME.$(bld_trg).$(bld_trg_arch))\
     1351        $($(target)_NAME.$(bld_trg_arch))\
     1352        $($(target)_NAME.$(bld_trg))\
     1353        $($(target)_NAME.$(bld_type))\
     1354        $($(target)_NAME)\
     1355        $(target))
     1356outbase     := $(call TARGET_BASE,$(name),$(target))
    13431357ifndef PATH_$(target)
    13441358 PATH_$(target) := $(patsubst %/,%,$(dir $(outbase)))
     
    13661380# library linking
    13671381tool        := $(call _TARGET_TOOL,$(target),AR)
    1368 outbase     := $(call TARGET_BASE,$(target),$(target))
     1382name        := $(firstword\
     1383        $($(target)_NAME.$(bld_trg).$(bld_trg_arch))\
     1384        $($(target)_NAME.$(bld_trg_arch))\
     1385        $($(target)_NAME.$(bld_trg))\
     1386        $($(target)_NAME.$(bld_type))\
     1387        $($(target)_NAME)\
     1388        $(target))
     1389outbase     := $(call TARGET_BASE,$(name),$(target))
    13691390flags       :=\
    13701391        $(TOOL_$(tool)_ARFLAGS)\
     
    15391560
    15401561tool        := $(call _TARGET_TOOL,$(target),LD)
    1541 outbase     := $(call TARGET_BASE,$(target),$(target))
     1562name        := $(firstword\
     1563        $($(target)_NAME.$(bld_trg).$(bld_trg_arch))\
     1564        $($(target)_NAME.$(bld_trg_arch))\
     1565        $($(target)_NAME.$(bld_trg))\
     1566        $($(target)_NAME.$(bld_type))\
     1567        $($(target)_NAME)\
     1568        $(target))
     1569outbase     := $(call TARGET_BASE,$(name),$(target))
    15421570ifndef PATH_$(target)
    15431571 PATH_$(target) := $(patsubst %/,%,$(dir $(outbase)))
     
    15621590# more link stuff.
    15631591tool        := $(call _TARGET_TOOL,$(target),LD)
    1564 outbase     := $(call TARGET_BASE,$(target),$(target))
     1592name        := $(firstword\
     1593        $($(target)_NAME.$(bld_trg).$(bld_trg_arch))\
     1594        $($(target)_NAME.$(bld_trg_arch))\
     1595        $($(target)_NAME.$(bld_trg))\
     1596        $($(target)_NAME.$(bld_type))\
     1597        $($(target)_NAME)\
     1598        $(target))
     1599outbase     := $(call TARGET_BASE,$(name),$(target))
    15651600flags       :=\
    15661601        $(TOOL_$(tool)_LDFLAGS)\
  • trunk/kBuild/header.kmk

    r874 r889  
    547547
    548548## PROPS_DEFERRED
    549 # This list of non-accumulative target properties which are functions,
    550 # and thus should not be expanded until the very last moment.
    551 PROPS_DEFERRED := INSTFUN INSTALLER PRE_CMDS POST_CMDS
     549# This list of non-accumulative target properties which are or may be
     550# functions, and thus should not be expanded until the very last moment.
     551PROPS_DEFERRED := INSTFUN INSTALLER PRE_CMDS POST_CMDS NAME
    552552
    553553## PROPS_ACCUMULATE_R
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