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:
parent
4a038ca112
commit
167b792327
8
Makefile
8
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:=)) \
|
||||
|
|
Loading…
Reference in New Issue