summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorYu-Ping Wu <yupingso@chromium.org>2022-05-20 17:36:46 +0800
committerJulius Werner <jwerner@chromium.org>2022-05-27 01:46:24 +0000
commit471eda5ae183b7c2add94529e9b8fc627a155392 (patch)
tree76c3fb492af6b86b3498867e0a4cdb088b1c73e8 /src/include
parenta182faeb88a0b2313ac83371fdefd6ca0d30bb8d (diff)
Makefile.inc: Add bootblock to CBFS before others
With CBFS verification, cbfstool (CB:41121) needs bootblock to be present in coreboot.pre in order to locate the metadata hash stored in it. Therefore we have to ensure that bootblock is added to CBFS before other CBFS files are added. To solve the problem, create the 'add_bootblock' function, and call it in the coreboot.pre recipe. Because bootblock.bin is now a prerequisite of coreboot.pre, it will get built even if CONFIG_BOOTBLOCK_IN_CBFS=n. BUG=b:233263447 TEST=emerge-guybrush coreboot TEST=emerge-corsola coreboot chromeos-bootimage TEST=cbfstool image-kingler.bin print -v TEST=Kingler booted successfully BRANCH=none Change-Id: I385deb8231e44310ee139c3f69f449e75b92b2be Signed-off-by: Yu-Ping Wu <yupingso@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/64547 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/include')
0 files changed, 0 insertions, 0 deletions