[OpenWrt-Devel] [PATCH] :package:grub2: fix build error on linux missing libzfs

Hans Ulli Kroll ulli.kroll at googlemail.com
Mon Jul 21 16:43:23 EDT 2014


configure enables libzfs support on default.
This will break the build, on systems without libzfs.

Signed-off-by: Hans Ulli Kroll <ulli.kroll at googlemail.com>
---
 package/boot/grub2/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/boot/grub2/Makefile b/package/boot/grub2/Makefile
index 83edfc6..64a3058 100644
--- a/package/boot/grub2/Makefile
+++ b/package/boot/grub2/Makefile
@@ -48,12 +48,14 @@ CONFIGURE_ARGS += \
 	--disable-werror \
 	--disable-nls \
 	--disable-device-mapper \
+	--disable-libzfs \
 	--disable-grub-mkfont
 
 HOST_CONFIGURE_ARGS += \
 	--target=$(REAL_GNU_TARGET_NAME) \
 	--sbindir="$(STAGING_DIR_HOST)/bin" \
 	--disable-werror \
+	--disable-libzfs \
 	--disable-nls
 
 HOST_MAKE_FLAGS += \
-- 
1.9.3
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list