libnftnl: add uclinux configure patch
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Tue, 3 Jun 2014 20:11:03 +0000 (17:11 -0300)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 3 Jun 2014 20:21:32 +0000 (22:21 +0200)
Fixes:
http://autobuild.buildroot.net/results/848/848331218676b4e2be78f805ba3a74cfaf87c56f/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/libnftnl/libnftnl-0001-configure-uclinux-is-also-linux-nommu.patch [new file with mode: 0644]
package/libnftnl/libnftnl.mk

diff --git a/package/libnftnl/libnftnl-0001-configure-uclinux-is-also-linux-nommu.patch b/package/libnftnl/libnftnl-0001-configure-uclinux-is-also-linux-nommu.patch
new file mode 100644 (file)
index 0000000..52d81dd
--- /dev/null
@@ -0,0 +1,26 @@
+From 71773664f9e7c15bb71ca07fcf9be9efc95abe44 Mon Sep 17 00:00:00 2001
+From: Gustavo Zacarias <gustavo@zacarias.com.ar>
+Date: Tue, 3 Jun 2014 16:42:45 -0300
+Subject: [PATCH] configure: uclinux is also linux (nommu)
+
+Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index 255e457..35287f9 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -35,7 +35,7 @@ AC_DISABLE_STATIC
+ LT_INIT
+ CHECK_GCC_FVISIBILITY
+ case "$host" in
+-*-*-linux*) ;;
++*-*-linux* | *-*-uclinux*) ;;
+ *) AC_MSG_ERROR([Linux only, dude!]);;
+ esac
+-- 
+1.8.5.5
+
index 1e054b54cbef2bc50dac0b87bb2ab6f386786127..c0e8b948697a5798cbb70ca7079d98d484e7acd0 100644 (file)
@@ -10,6 +10,8 @@ LIBNFTNL_SOURCE = libnftnl-$(LIBNFTNL_VERSION).tar.bz2
 LIBNFTNL_LICENSE = GPLv2+
 LIBNFTNL_LICENSE_FILES = COPYING
 LIBNFTNL_INSTALL_STAGING = YES
+# For uclinux support patch
+LIBNFTNL_AUTORECONF = YES
 LIBNFTNL_DEPENDENCIES = host-pkgconf libmnl
 
 ifeq ($(BR2_PACKAGE_LIBNFTNL_JSON),y)