Ignore:
Timestamp:
Jan 9, 2011, 6:45:08 PM (15 years ago)
Author:
bird
Message:

kBuild: Deprecating PATH_<target> and <target>_PATH in favor of <target>_0_OUTDIR and <target>_DEFPATH.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/footer.kmk

    r2433 r2434  
    158158        $(TOOL.$(bld_trg)) \
    159159        $(TOOL) \
     160))
    160161else
    161162_TARGET_TOOL = $(strip $(firstword \
     
    188189        $(TOOL.$(bld_type)) \
    189190        $(TOOL) \
    190         ))
     191))
    191192endif
    192193
     
    22182219        $(SUFF_LIB))
    22192220local out         := $(outbase)$(suff)
    2220 local defpath     := $(firstword $($(target)_PATH) $($(target)_DEFPATH))
     2221local defpath     := $($(target)_DEFPATH)
     2222ifeq ($(defpath),)
     2223 local defpath    := $($(target)_PATH)
     2224endif
    22212225TARGET_$(target)  := $(out)
    22222226$(target)_1_TARGET:= $(out)
     
    24742478TARGET_$(target)  := $(out)
    24752479$(target)_1_TARGET:= $(out)
    2476 local defpath     := $(firstword $($(target)_PATH) $($(target)_DEFPATH))
     2480local defpath     := $($(target)_DEFPATH)
     2481ifeq ($(defpath),)
     2482 local defpath    := $($(target)_PATH)
     2483endif
    24772484# no local here - must be writable across some foreachs.
    24782485othersrc          :=
     
    31273134
    31283135# Adjust the source if we got a default PATH. (This must be done this late!)
    3129 local defpath := $(firstword $($(target)_PATH) $($(target)_DEFPATH))
     3136local defpath     := $($(target)_DEFPATH)
     3137ifeq ($(defpath),)
     3138 local defpath    := $($(target)_PATH)
     3139endif
    31303140ifneq ($(defpath),)
    31313141 local srcsrc := $(abspathex $(srcsrc),$(defpath))
Note: See TracChangeset for help on using the changeset viewer.