Changeset 2242 for trunk/kBuild/subheader.kmk
- Timestamp:
- Jan 10, 2009, 3:16:34 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/subheader.kmk
r2240 r2242 5 5 6 6 # 7 # Copyright (c) 2006-200 8 knut st. osmundsen <bird-kBuild-spam@anduin.net>7 # Copyright (c) 2006-2009 knut st. osmundsen <bird-kBuild-spamix@anduin.net> 8 8 # 9 9 # This file is part of kBuild. … … 53 53 # Set the default path and makefile for all new targets. 54 54 # 55 ## @todo use $(evalval ) instead of doubly expanded $(eval )?56 55 define def_subfooter 57 56 ifndef $(target)_PATH 58 57 ifdef $(target)_DEFPATH 59 $(target)_PATH := $ $($(target)_DEFPATH)58 $(target)_PATH := $($(target)_DEFPATH) 60 59 else 61 $(target)_PATH := $ $(PATH_SUB_CURRENT)62 $(target)_DEFPATH := $ $(PATH_SUB_CURRENT)60 $(target)_PATH := $(PATH_SUB_CURRENT) 61 $(target)_DEFPATH := $(PATH_SUB_CURRENT) 63 62 endif 64 63 else ifndef $(target)_DEFPATH 65 $(target)_DEFPATH := $ $($(target)_PATH)64 $(target)_DEFPATH := $($(target)_PATH) 66 65 endif 67 66 ifndef $(target)_MAKEFILE … … 69 68 endif 70 69 ifndef $(target)_0_OUTDIR 71 $(target)_0_OUTDIR := $ $(call TARGET_PATH,$(target))72 PATH_$(target) := $ $($(target)_0_OUTDIR)70 $(target)_0_OUTDIR := $(call TARGET_PATH,$(target)) 71 PATH_$(target) := $($(target)_0_OUTDIR) 73 72 endif 74 73 endef … … 87 86 $(INSTALLS) $(INSTALLS.$(KBUILD_TARGET)) $(INSTALLS.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)) $(INSTALLS.$(KBUILD_TARGET_ARCH)) $(INSTALLS.$(KBUILD_TARGET_CPU)) $(INSTALLS.$(KBUILD_TYPE)) \ 88 87 $(OTHERS) $(OTHERS.$(KBUILD_TARGET)) $(OTHERS.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)) $(OTHERS.$(KBUILD_TARGET_ARCH)) $(OTHERS.$(KBUILD_TARGET_CPU)) $(OTHERS.$(KBUILD_TYPE)) \ 89 ,$(eval $(def_subfooter)))88 ,$(evalval def_subfooter)) 90 89 91 90
Note:
See TracChangeset
for help on using the changeset viewer.