[coreboot-gerrit] Patch merged into coreboot/master: build system: add easier targetting of cbfstool options per region
gerrit at coreboot.org
gerrit at coreboot.org
Fri Aug 5 08:00:01 CEST 2016
the following patch was just integrated into master:
commit bcbb205454854c878c80c4aca16a04dc46af090a
Author: Aaron Durbin <adurbin at chromium.org>
Date: Fri May 6 16:01:25 2016 -0500
build system: add easier targetting of cbfstool options per region
The first attempt of providing a options-for-region function to call
to determining a file's cbfstool options would work, but it means there
can only be one instance which has to handle all of the files that may
need an override. That logic can be problematic in impelementation.
Instead, provide a mechanism to target cbfstool options for a given
CBFS region where the implementation is tightly coupled in the build
system to where the file as requested to be added to cbfs. This allows
there to be a base set of cbfstool options while more easily extending
arguments on specific regions.
Example which adds '-b 0x10000' only for the COREBOOT CBFS region:
cbfs-files-y += file.bin
file.bin-COREBOOT-cbfstool-opts := -b 0x10000
Change-Id: Idfafb0205be42768adb04bb0a30fe46a9ca1bd57
Signed-off-by: Aaron Durbin <adurbin at chromium.org>
Reviewed-on: https://review.coreboot.org/14640
Tested-by: build bot (Jenkins)
Reviewed-by: Duncan Laurie <dlaurie at chromium.org>
See https://review.coreboot.org/14640 for details.
-gerrit
More information about the coreboot-gerrit
mailing list