summaryrefslogtreecommitdiff
path: root/Makefile.inc
diff options
context:
space:
mode:
authorPaul Menzel <pmenzel@molgen.mpg.de>2017-10-23 19:20:57 +0200
committerMartin Roth <martinroth@google.com>2018-02-15 21:40:31 +0000
commitdb9709d67d647329b22eeb6ecc0c5add1276c6ba (patch)
tree336221d43f363678dce2ffe10f4e8423ad1cd55d /Makefile.inc
parent2b732a2b4c930b64d6a5fe302f8a4bbbc99af619 (diff)
Makefile.inc: Also print layout at end of build
Currently, at the end of a build `CBFSPRINT` prints the content of all CBFS regions. This is confusing, as they are identical. To avoid confusion print the layout beforehand. > layout [-w] – List mutable (or, with -w, readable) image regions Change-Id: Ibf03b125ef6dae41c58b8ae867430047778cfff3 Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de> Reviewed-on: https://review.coreboot.org/22143 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'Makefile.inc')
-rw-r--r--Makefile.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.inc b/Makefile.inc
index 379215b254..be658efdeb 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -980,6 +980,8 @@ ifeq ($(CONFIG_CPU_MICROCODE_CBFS_GENERATE),y)
endif
endif
mv $@.tmp $@
+ @printf " CBFSLAYOUT $(subst $(obj)/,,$(@))\n\n"
+ $(CBFSTOOL) $@ layout
@printf " CBFSPRINT $(subst $(obj)/,,$(@))\n\n"
$(CBFSTOOL) $@ print -r $(subst $(spc),$(comma),$(all-regions))