[coreboot] [PATCH]Allow components to add files to CBFS

Patrick Georgi patrick at georgi-clan.de
Wed Dec 15 20:03:58 CET 2010


Am Mittwoch, 15. Dezember 2010, um 19:50:14 schrieb Stefan Reinauer:
> How does that work with specifying those filenames in Kconfig? Would we
> just say
> 
> cbfs-files-y += $(CONFIG_MBI_FILE)
> 
> or some such?
> 
> Or should we go away from that and just require people to put the right
> files in place with the right file names?
Should work - the only issue is in which Makefile.inc to put the line above.

The lookup rules are:
First relative to the directory of the Makefile.inc that contains the line, 
then relative to $(top).
That's a different behaviour from now (where it only runs relative to the top 
level directory), but I think a sensible change.

By the way, I think it should be
cbfs-files-$(CONFIG_INTEL_MBI) += $(CONFIG_MBI_FILE)
;-)


Patrick




More information about the coreboot mailing list