From 383f912ed27d67b98837d1b81ee593b3472090be Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Tue, 3 Jun 2014 17:11:03 -0300 Subject: [PATCH] libnftnl: add uclinux configure patch Fixes: http://autobuild.buildroot.net/results/848/848331218676b4e2be78f805ba3a74cfaf87c56f/ Signed-off-by: Gustavo Zacarias Signed-off-by: Peter Korsgaard --- ...onfigure-uclinux-is-also-linux-nommu.patch | 26 +++++++++++++++++++ package/libnftnl/libnftnl.mk | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 package/libnftnl/libnftnl-0001-configure-uclinux-is-also-linux-nommu.patch 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 +Date: Tue, 3 Jun 2014 16:42:45 -0300 +Subject: [PATCH] configure: uclinux is also linux (nommu) + +Signed-off-by: Gustavo Zacarias +--- + 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) -- 2.30.2