summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@secunet.com>2011-02-08 08:37:47 +0000
committerPatrick Georgi <patrick.georgi@coresystems.de>2011-02-08 08:37:47 +0000
commit167b79232744eea31d966bce4007d0a7c6d982ee (patch)
treed8e2218b3fe2f56630cae3bfdd87171cdd38fde6
parent4a038ca112f04312c233b6519c76572eaa1a57be (diff)
Fix cmos-files-y for relative paths
Thanks to Josef Kellermann <seppk@arcor.de> for reporting the issue. Signed-off-by: Patrick Georgi <patrick.georgi@secunet.com> Acked-by: Patrick Georgi <patrick.georgi@secunet.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6337 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index f5aa730800..35ca0c517e 100644
--- a/Makefile
+++ b/Makefile
@@ -208,10 +208,10 @@ includemakefiles= \
$$(subst $(top)/,, \
$$(abspath $$(addprefix $(dir $(1)),$$($(type)-y)))))) \
$(foreach file,$(cbfs-files-y), \
- $(if $(wildcard $(dir $(1))$$($(file)-file)), \
- $(eval tmp-cbfs-file:= $(wildcard $(dir $(1))$$($(file)-file))), \
- $(eval tmp-cbfs-file:= $$($(file)-file))) \
- $(eval cbfs-files += $(tmp-cbfs-file)|$(file)|$$($(file)-type)|$$($(file)-position)) \
+ $(if $(wildcard $(dir $(1))$($(file)-file)), \
+ $(eval tmp-cbfs-file:= $(wildcard $(dir $(1))$($(file)-file))), \
+ $(eval tmp-cbfs-file:= $($(file)-file))) \
+ $(eval cbfs-files += $(tmp-cbfs-file)|$(file)|$($(file)-type)|$($(file)-position)) \
$(eval $(file)-name:=) \
$(eval $(file)-type:=) \
$(eval $(file)-position:=)) \