[openwrt/openwrt] grub2: disable building platform code for target utility

LEDE Commits lede-commits at lists.infradead.org
Thu Feb 22 00:30:41 PST 2018


nbd pushed a commit to openwrt/openwrt.git, branch master:
https://git.lede-project.org/1b13cbc15b2922d6b79c1e481b252934591326bd

commit 1b13cbc15b2922d6b79c1e481b252934591326bd
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Thu Feb 22 09:29:54 2018 +0100

    grub2: disable building platform code for target utility
    
    It is not used and it was causing a build error with GCC 7.3
    
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
 package/boot/grub2/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/package/boot/grub2/Makefile b/package/boot/grub2/Makefile
index 8cfc0dc..b2ae171 100644
--- a/package/boot/grub2/Makefile
+++ b/package/boot/grub2/Makefile
@@ -60,7 +60,8 @@ CONFIGURE_ARGS += \
 	--disable-nls \
 	--disable-device-mapper \
 	--disable-libzfs \
-	--disable-grub-mkfont
+	--disable-grub-mkfont \
+	--with-platform=none
 
 HOST_CONFIGURE_VARS += \
 	grub_build_mkfont_excuse="don't want fonts"



More information about the lede-commits mailing list