summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--boot/grub/grub.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/boot/grub/grub.mk b/boot/grub/grub.mk
index 43121ff7a4..3be4a7401b 100644
--- a/boot/grub/grub.mk
+++ b/boot/grub/grub.mk
@@ -22,7 +22,8 @@ GRUB_CFLAGS = \
-O0 -Wl,--build-id=none \
-fno-stack-protector
-GRUB_CONFIG-$(BR2_TARGET_GRUB_SPLASH) += --enable-graphics
+GRUB_CONFIG-y += $(if $(BR2_TARGET_GRUB_SPLASH),--enable-graphics,--disable-graphics)
+
GRUB_CONFIG-$(BR2_TARGET_GRUB_DISKLESS) += --enable-diskless
GRUB_CONFIG-$(BR2_TARGET_GRUB_3c595) += --enable-3c595
GRUB_CONFIG-$(BR2_TARGET_GRUB_3c90x) += --enable-3c90x
OpenPOWER on IntegriCloud