From 9993286de2f47b24b91ed48615aefc23140f855b Mon Sep 17 00:00:00 2001 From: Benjamin Barenblat Date: Wed, 15 Jun 2016 12:08:06 -0700 Subject: payloads/external/GRUB2: Pass CONFIG_GRUB2_EXTRA_MODULES Set CONFIG_GRUB2_EXTRA_MODULES from the Kconfig when building GRUB2. This causes the specified modules to actually enter the built payload. Change-Id: I345026af705ba8af77c6c12aba8e1bd4135e519c Signed-off-by: Benjamin Barenblat Reviewed-on: https://review.coreboot.org/15203 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Vladimir Serbinenko --- payloads/external/GRUB2/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'payloads/external/GRUB2') diff --git a/payloads/external/GRUB2/Makefile b/payloads/external/GRUB2/Makefile index 5d53922a33..c257f0e954 100644 --- a/payloads/external/GRUB2/Makefile +++ b/payloads/external/GRUB2/Makefile @@ -45,7 +45,8 @@ config: checkout grub2: config echo " MAKE GRUB2 $(NAME-y)" $(MAKE) -C grub2/build CC="$(HOSTCC)" - $(MAKE) -C grub2/build default_payload.elf EXTRA_PAYLOAD_MODULES="$(GRUB2_EXTRA_MODULES)" + $(MAKE) -C grub2/build default_payload.elf \ + EXTRA_PAYLOAD_MODULES="$(CONFIG_GRUB2_EXTRA_MODULES)" clean: test -d grub2 && $(MAKE) -C grub2 clean || exit 0 -- cgit v1.2.3