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>
This commit is contained in:
Gustavo Zacarias 2014-06-03 17:11:03 -03:00 committed by Peter Korsgaard
parent 50ec76a594
commit 383f912ed2
2 changed files with 28 additions and 0 deletions

View File

@ -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

View 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)