Changeset 729 for trunk/kBuild/subheader.kmk
- Timestamp:
- Dec 17, 2006, 3:12:07 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/subheader.kmk
r725 r729 25 25 # 26 26 27 ifndef _SUB_MAKEFILE_STACK 27 ifndef _SUB_MAKEFILE_NOT_FIRST 28 28 29 # 29 30 # The first time we just take the makefile context set by header.kmk. 30 31 # 32 _SUB_MAKEFILE_NOT_FIRST := 1 31 33 include $(PATH_KBUILD)/header.kmk 32 34 33 35 else 34 36 … … 63 65 # Switch context. 64 66 # 67 68 # push the current old makefile onto the stack. 69 $(call stack-push,_SUB_MAKEFILE_STACK,$(MAKEFILE_CURRENT)) 70 71 # the current makefile is the 2nd from the end of the MAKEFILE_LIST (we're the last one). 65 72 __tmp := $(MAKEFILE_LIST) 66 73 $(call stack-popv,__tmp) 67 74 MAKEFILE_CURRENT := $(call stack-top,__tmp) 68 PATH_SUB_CURRENT := $(abspath $( patsubst %/,%,$(dir $(MAKEFILE_CURRENT))))75 PATH_SUB_CURRENT := $(abspath $(dir $(MAKEFILE_CURRENT))) 69 76 endif 70 77 71 $(call stack-push,_SUB_MAKEFILE_STACK,$(MAKEFILE_CURRENT))72
Note:
See TracChangeset
for help on using the changeset viewer.