UPSTREAM: grub: Build module boottime
Configure GRUB to build with boot time statistics. That allows users
to add that module to GRUB by adding `boottime` to the list of extra
modules.
BUG=none
BRANCH=none
TEST=none
Change-Id: Iab5d114c243119bd539ef2aec1efacd2eacd2f58
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 7c7b176169
Original-Change-Id: I76a07e49aecb37652fe8c7d6a9421fd464424287
Original-Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de>
Original-Reviewed-on: https://review.coreboot.org/18367
Original-Tested-by: build bot (Jenkins)
Original-Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-on: https://chromium-review.googlesource.com/445142
This commit is contained in:
parent
d7c1cc2efe
commit
c5a415acb6
1 changed files with 2 additions and 1 deletions
3
payloads/external/GRUB2/Makefile
vendored
3
payloads/external/GRUB2/Makefile
vendored
|
|
@ -40,7 +40,8 @@ config: checkout
|
|||
cd grub2 && ./autogen.sh
|
||||
cd grub2/build && ../configure BUILD_CC="$(HOSTCC)" CC="$(HOSTCC)" \
|
||||
TARGET_CC="$(CC)" \
|
||||
TARGET_OBJCOPY="$(OBJCOPY)" TARGET_STRIP="$(STRIP)" CFLAGS=-O2 TARGET_CFLAGS=-Os --with-platform=coreboot
|
||||
TARGET_OBJCOPY="$(OBJCOPY)" TARGET_STRIP="$(STRIP)" CFLAGS=-O2 TARGET_CFLAGS=-Os --with-platform=coreboot \
|
||||
--enable-boot-time
|
||||
|
||||
grub2: config
|
||||
echo " MAKE GRUB2 $(NAME-y)"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue