Changeset 2434 for trunk/kBuild/footer.kmk
- Timestamp:
- Jan 9, 2011, 6:45:08 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/footer.kmk
r2433 r2434 158 158 $(TOOL.$(bld_trg)) \ 159 159 $(TOOL) \ 160 )) 160 161 else 161 162 _TARGET_TOOL = $(strip $(firstword \ … … 188 189 $(TOOL.$(bld_type)) \ 189 190 $(TOOL) \ 190 191 )) 191 192 endif 192 193 … … 2218 2219 $(SUFF_LIB)) 2219 2220 local out := $(outbase)$(suff) 2220 local defpath := $(firstword $($(target)_PATH) $($(target)_DEFPATH)) 2221 local defpath := $($(target)_DEFPATH) 2222 ifeq ($(defpath),) 2223 local defpath := $($(target)_PATH) 2224 endif 2221 2225 TARGET_$(target) := $(out) 2222 2226 $(target)_1_TARGET:= $(out) … … 2474 2478 TARGET_$(target) := $(out) 2475 2479 $(target)_1_TARGET:= $(out) 2476 local defpath := $(firstword $($(target)_PATH) $($(target)_DEFPATH)) 2480 local defpath := $($(target)_DEFPATH) 2481 ifeq ($(defpath),) 2482 local defpath := $($(target)_PATH) 2483 endif 2477 2484 # no local here - must be writable across some foreachs. 2478 2485 othersrc := … … 3127 3134 3128 3135 # Adjust the source if we got a default PATH. (This must be done this late!) 3129 local defpath := $(firstword $($(target)_PATH) $($(target)_DEFPATH)) 3136 local defpath := $($(target)_DEFPATH) 3137 ifeq ($(defpath),) 3138 local defpath := $($(target)_PATH) 3139 endif 3130 3140 ifneq ($(defpath),) 3131 3141 local srcsrc := $(abspathex $(srcsrc),$(defpath))
Note:
See TracChangeset
for help on using the changeset viewer.