diff mbox series

[v2,5/5] boot/grub2/grub2.mk: use none platform when building for host

Message ID 20211022115134.345595-5-kory.maincent@bootlin.com
State Accepted
Headers show
Series [v2,1/5] boot/grub2/grub2.mk: fix the installation of target tools | expand

Commit Message

Kory Maincent Oct. 22, 2021, 11:51 a.m. UTC
When creating the image we are using the target modules. Building the
modules for host is then unnecessary.
Let configure Host Grub2 for none platform.

Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
---
 boot/grub2/grub2.mk | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/boot/grub2/grub2.mk b/boot/grub2/grub2.mk
index 270f289cfd..d93e383422 100644
--- a/boot/grub2/grub2.mk
+++ b/boot/grub2/grub2.mk
@@ -140,6 +140,7 @@  GRUB2_CONF_ENV = \
 	TARGET_STRIP="$(TARGET_CROSS)strip"
 
 HOST_GRUB2_CONF_OPTS = \
+	--with-platform=none \
 	--disable-grub-mkfont \
 	--enable-efiemu=no \
 	ac_cv_lib_lzma_lzma_code=no \