Changeset 2242 for trunk/kBuild/subfooter.kmk
- Timestamp:
- Jan 10, 2009, 3:16:34 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/subfooter.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. … … 42 42 # Set the default path for all new targets. 43 43 # 44 ## @todo use $(evalval ) instead of doubly expanded $(eval )?45 44 define def_subheader 46 45 ifndef $(target)_PATH 47 46 ifdef $(target)_DEFPATH 48 $(target)_PATH := $ $($(target)_DEFPATH)47 $(target)_PATH := $($(target)_DEFPATH) 49 48 else 50 $(target)_PATH := $ $(PATH_SUB_CURRENT)51 $(target)_DEFPATH := $ $(PATH_SUB_CURRENT)49 $(target)_PATH := $(PATH_SUB_CURRENT) 50 $(target)_DEFPATH := $(PATH_SUB_CURRENT) 52 51 endif 53 52 else ifndef $(target)_DEFPATH 54 $(target)_DEFPATH := $ $($(target)_PATH)53 $(target)_DEFPATH := $($(target)_PATH) 55 54 endif 56 55 ifndef $(target)_MAKEFILE 57 $(target)_MAKEFILE := $ $(MAKEFILE_CURRENT)56 $(target)_MAKEFILE := $(MAKEFILE_CURRENT) 58 57 endif 59 58 ifndef $(target)_0_OUTDIR 60 $(target)_0_OUTDIR := $ $(call TARGET_PATH,$(target))61 PATH_$(target) := $ $($(target)_0_OUTDIR)59 $(target)_0_OUTDIR := $(call TARGET_PATH,$(target)) 60 PATH_$(target) := $($(target)_0_OUTDIR) 62 61 endif 63 62 endef … … 76 75 $(INSTALLS) $(INSTALLS.$(KBUILD_TARGET)) $(INSTALLS.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)) $(INSTALLS.$(KBUILD_TARGET_ARCH)) $(INSTALLS.$(KBUILD_TARGET_CPU)) $(INSTALLS.$(KBUILD_TYPE)) \ 77 76 $(OTHERS) $(OTHERS.$(KBUILD_TARGET)) $(OTHERS.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)) $(OTHERS.$(KBUILD_TARGET_ARCH)) $(OTHERS.$(KBUILD_TARGET_CPU)) $(OTHERS.$(KBUILD_TYPE)) \ 78 ,$(eval $(def_subheader)))77 ,$(evalval def_subheader)) 79 78 80 79
Note:
See TracChangeset
for help on using the changeset viewer.