aboutsummaryrefslogtreecommitdiff
path: root/package/libnftnl
diff options
context:
space:
mode:
authorGravatar Gustavo Zacarias <gustavo@zacarias.com.ar>2014-06-03 17:11:03 -0300
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-06-03 22:21:32 +0200
commit383f912ed27d67b98837d1b81ee593b3472090be (patch)
tree40556cf3679d3cd3b5c685950ac1997366545cc9 /package/libnftnl
parent50ec76a594e7d6a4b30508347700fbd0d9e48baf (diff)
downloadbuildroot-383f912ed27d67b98837d1b81ee593b3472090be.tar.gz
buildroot-383f912ed27d67b98837d1b81ee593b3472090be.tar.bz2
libnftnl: add uclinux configure patch
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>
Diffstat (limited to 'package/libnftnl')
-rw-r--r--package/libnftnl/libnftnl-0001-configure-uclinux-is-also-linux-nommu.patch26
-rw-r--r--package/libnftnl/libnftnl.mk2
2 files changed, 28 insertions, 0 deletions
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
index 0000000000..52d81dd5fe
--- /dev/null
+++ b/package/libnftnl/libnftnl-0001-configure-uclinux-is-also-linux-nommu.patch
@@ -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
+
diff --git a/package/libnftnl/libnftnl.mk b/package/libnftnl/libnftnl.mk
index 1e054b54cb..c0e8b94869 100644
--- a/package/libnftnl/libnftnl.mk
+++ b/package/libnftnl/libnftnl.mk
@@ -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)