diff options
author | Patrick Georgi <pgeorgi@chromium.org> | 2016-02-02 17:38:45 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2016-02-03 18:51:50 +0100 |
commit | 4505787724616221a42a6cf81f89383d732a9cb3 (patch) | |
tree | 636640e621707e5ea76b1f3e54bf65e509490258 /Makefile.inc | |
parent | b09a5696a6292b14e5d6eaa00f6ed7f6c748368a (diff) |
build system: Add another post-processing step
files_added is for rules that need to run after all CBFS processing is
finished, such as SoC-specific postprocessing of the image, or for
vboot, to sign the RW regions (that contain CBFS that shouldn't change
afterwards.)
Change-Id: I830aa0c93429f4971cd68e4358faba5c206c0038
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Reviewed-on: https://review.coreboot.org/13557
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'Makefile.inc')
-rw-r--r-- | Makefile.inc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.inc b/Makefile.inc index 3c4b899dc7..fb0d888a8e 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -46,7 +46,7 @@ export objgenerated := $(obj)/generated ####################################################################### # root rule to resolve if in build mode (ie. configuration exists) -real-target: $(obj)/config.h coreboot build_complete +real-target: $(obj)/config.h coreboot files_added coreboot: build-dirs $(obj)/coreboot.rom $(obj)/cbfstool $(obj)/rmodtool # This target can be used in site local to run scripts or additional @@ -56,6 +56,10 @@ build_complete:: coreboot printf "\nBuilt %s (%s)\n" $(CONFIG_MAINBOARD_DIR) \ $(CONFIG_MAINBOARD_PART_NUMBER) +# This target can be used to run rules after all files were added to CBFS, +# for example to process FMAP regions or the entire image. +files_added:: build_complete + ####################################################################### # our phony targets PHONY+= clean-abuild coreboot lint lint-stable build-dirs build_complete |