Skip to content

Commit

Permalink
Makefile.inc: Also print layout at end of build
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
paulmenzel authored and Martin Roth committed Feb 15, 2018
1 parent 2b732a2 commit db9709d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand Down

0 comments on commit db9709d

Please sign in to comment.