Changeset 979
- Timestamp:
- May 27, 2007, 9:05:11 PM (18 years ago)
- Location:
- trunk/kBuild
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/footer.kmk
r966 r979 1427 1427 # Adjust paths if we got a default path. 1428 1428 ifneq ($(defpath),) 1429 objs := $( call abspathex,$(objs),$(defpath))1430 deps := $( call abspathex,$(deps),$(defpath))1431 orderdeps := $( call abspathex,$(orderdeps),$(defpath))1432 othersrc := $( call abspathex,$(othersrc),$(defpath))1429 objs := $(abspathex $(objs),$(defpath)) 1430 deps := $(abspathex $(deps),$(defpath)) 1431 orderdeps := $(abspathex $(orderdeps),$(defpath)) 1432 othersrc := $(abspathex $(othersrc),$(defpath)) 1433 1433 endif 1434 1434 … … 1727 1727 # Adjust paths if we got a default path. 1728 1728 ifneq ($(defpath),) 1729 libpath := $( call abspathex,$(libpath),$(defpath))1730 objs := $( call abspathex,$(objs),$(defpath))1731 deps := $( call abspathex,$(deps),$(defpath))1732 orderdeps := $( call abspathex,$(orderdeps),$(defpath))1733 othersrc := $( call abspathex,$(othersrc),$(defpath))1729 libpath := $(abspathex $(libpath),$(defpath)) 1730 objs := $(abspathex $(objs),$(defpath)) 1731 deps := $(abspathex $(deps),$(defpath)) 1732 orderdeps := $(abspathex $(orderdeps),$(defpath)) 1733 othersrc := $(abspathex $(othersrc),$(defpath)) 1734 1734 # libs are not subject to this because of the the -l<lib> stuff. Use $(<target>_PATH)/lib if relative to current dir! 1735 1735 endif … … 2087 2087 # Adjust the source if we got a default PATH. (This must be done this late!) 2088 2088 ifdef $(target)_PATH 2089 srcsrc := $( call abspathex,$(srcsrc),$($(target)_PATH))2089 srcsrc := $(abspathex $(srcsrc),$($(target)_PATH)) 2090 2090 endif 2091 2091 -
trunk/kBuild/subfooter.kmk
r819 r979 67 67 # Switch back to the context of previous makefile on the stack. 68 68 # 69 MAKEFILE_CURRENT := $( call stack-pop,_SUB_MAKEFILE_STACK)69 MAKEFILE_CURRENT := $(stack-pop _SUB_MAKEFILE_STACK) 70 70 PATH_SUB_CURRENT := $(abspath $(dir $(MAKEFILE_CURRENT))) 71 71 -
trunk/kBuild/subheader.kmk
r819 r979 77 77 78 78 # push the current old makefile onto the stack. 79 $( call stack-push,_SUB_MAKEFILE_STACK,$(MAKEFILE_CURRENT))79 $(stack-push _SUB_MAKEFILE_STACK,$(MAKEFILE_CURRENT)) 80 80 81 81 # the current makefile is the 2nd from the end of the MAKEFILE_LIST (we're the last one). 82 82 __tmp := $(MAKEFILE_LIST) 83 $( call stack-popv,__tmp)84 MAKEFILE_CURRENT := $( call stack-top,__tmp)83 $(stack-popv __tmp) 84 MAKEFILE_CURRENT := $(stack-top __tmp) 85 85 PATH_SUB_CURRENT := $(abspath $(dir $(MAKEFILE_CURRENT))) 86 86 endif
Note:
See TracChangeset
for help on using the changeset viewer.