Changeset 1755 in kBuild
- Timestamp:
- Sep 6, 2008 3:34:38 AM (16 years ago)
- Location:
- trunk/kBuild
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/footer.kmk
r1754 r1755 2200 2200 $(SUFF_LIB)) 2201 2201 local out := $(outbase)$(suff) 2202 local defpath := $( $(target)_PATH)2202 local defpath := $(firstword $($(target)_PATH) $($(target)_DEFPATH)) 2203 2203 TARGET_$(target) := $(out) 2204 2204 # no local here - must be writable across some foreachs. … … 2449 2449 local out := $(outbase)$(suff) 2450 2450 TARGET_$(target) := $(out) 2451 local defpath := $( $(target)_PATH)2451 local defpath := $(firstword $($(target)_PATH) $($(target)_DEFPATH)) 2452 2452 # no local here - must be writable across some foreachs. 2453 2453 othersrc := … … 2642 2642 local orderdeps := $(abspathex $(orderdeps),$(defpath)) 2643 2643 othersrc := $(abspathex $(othersrc),$(defpath)) 2644 # libs are not subject to this because of the the -l<lib> stuff. Use $(<target>_ PATH)/lib if relative to current dir!2644 # libs are not subject to this because of the the -l<lib> stuff. Use $(<target>_DEFPATH)/lib if relative to current dir! 2645 2645 endif 2646 2646 … … 3057 3057 3058 3058 # Adjust the source if we got a default PATH. (This must be done this late!) 3059 ifdef $(target)_PATH 3060 local srcsrc := $(abspathex $(srcsrc),$($(target)_PATH)) 3059 local defpath := $(firstword $($(target)_PATH) $($(target)_DEFPATH)) 3060 ifneq ($(defpath),) 3061 local srcsrc := $(abspathex $(srcsrc),$(defpath)) 3061 3062 endif 3062 3063 -
trunk/kBuild/subfooter.kmk
r1669 r1755 46 46 $(target)_PATH := $(PATH_SUB_CURRENT) 47 47 endif 48 ifndef $(target)_DEFPATH 49 $(target)_DEFPATH := $(PATH_SUB_CURRENT) 50 endif 48 51 ifndef $(target)_MAKEFILE 49 52 $(target)_MAKEFILE := $(MAKEFILE_CURRENT) -
trunk/kBuild/subheader.kmk
r1669 r1755 56 56 $(target)_PATH := $(PATH_SUB_CURRENT) 57 57 endif 58 ifndef $(target)_DEFPATH 59 $(target)_DEFPATH := $(PATH_SUB_CURRENT) 60 endif 58 61 ifndef $(target)_MAKEFILE 59 62 $(target)_MAKEFILE := $(MAKEFILE_CURRENT)
Note:
See TracChangeset
for help on using the changeset viewer.