Changeset 2240 for trunk/kBuild/subheader.kmk
- Timestamp:
- Jan 9, 2009, 4:48:32 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/subheader.kmk
r2239 r2240 53 53 # Set the default path and makefile for all new targets. 54 54 # 55 ## @todo use $(evalval ) instead of doubly expanded $(eval )? 55 56 define def_subfooter 56 57 ifndef $(target)_PATH 57 58 ifdef $(target)_DEFPATH 58 $(target)_PATH := $ ($(target)_DEFPATH)59 $(target)_PATH := $$($(target)_DEFPATH) 59 60 else 60 $(target)_PATH := $ (PATH_SUB_CURRENT)61 $(target)_DEFPATH := $ (PATH_SUB_CURRENT)61 $(target)_PATH := $$(PATH_SUB_CURRENT) 62 $(target)_DEFPATH := $$(PATH_SUB_CURRENT) 62 63 endif 63 64 else ifndef $(target)_DEFPATH 64 $(target)_DEFPATH := $ ($(target)_PATH)65 $(target)_DEFPATH := $$($(target)_PATH) 65 66 endif 66 67 ifndef $(target)_MAKEFILE … … 68 69 endif 69 70 ifndef $(target)_0_OUTDIR 70 $(target)_0_OUTDIR := $ (call TARGET_PATH,$(target))71 PATH_$(target) := $ ($(target)_0_OUTDIR)71 $(target)_0_OUTDIR := $$(call TARGET_PATH,$(target)) 72 PATH_$(target) := $$($(target)_0_OUTDIR) 72 73 endif 73 74 endef
Note:
See TracChangeset
for help on using the changeset viewer.