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
This commit is contained in:
Patrick Georgi 2011-02-08 08:37:47 +00:00 committed by Patrick Georgi
parent 4a038ca112
commit 167b792327
1 changed files with 4 additions and 4 deletions

View File

@ -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:=)) \