Add preprocessing capabilities to the cbfs-files mechanism
authorPatrick Georgi <Patrick.Georgi@secunet.com>
Fri, 9 Mar 2012 11:30:07 +0000 (12:30 +0100)
committerStefan Reinauer <stefan.reinauer@coreboot.org>
Tue, 3 Apr 2012 16:33:23 +0000 (18:33 +0200)
commit3bbd2bfa1c2343c6f28e7a1935c485848340116e
treefe62c42c83f0bb1e0250748eb57462e4b3fda43b
parent499fc926f8c877ab049f936fb9da7234e123edfb
Add preprocessing capabilities to the cbfs-files mechanism

It's now possible to generate files that are about to be added to
CBFS by specifying "sourcefile:method" as real file name.

This makes the build system use the cbfs-files-preprocessor-$(method)
function to create a file from sourcefile. That generated file is
then added to CBFS.

The first method to be defined is "nvramtool". It expects a plain text
specification of the CMOS configuration and emits the binary format
suitable for cmos.default.

Change-Id: I33a142718fc7238eaf5317b0ed62b4726d9b48f2
Signed-off-by: Patrick Georgi <Patrick.Georgi@secunet.com>
Reviewed-on: http://review.coreboot.org/847
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Makefile.inc