diff options
author | Anders Roxell <anders.roxell@linaro.org> | 2018-06-19 21:21:38 +0200 |
---|---|---|
committer | Daniel Díaz <daniel.diaz@linaro.org> | 2018-06-19 20:33:37 +0000 |
commit | 39ec1aaaaeade9d1026cc56df9cebfe20730ee36 (patch) | |
tree | 75bd714c24c5c05cac82ce937a09f1c254f984b0 /core/recipes-connectivity/iproute2/iproute2/0001-make-configure-cross-compile-safe.patch | |
parent | e579c060e0e95919b31682fd9a747850b45f9e09 (diff) |
iproute2: add new recipe 4.17
latest iproute2 is needed in order to run kselftests bpf/test_tunnel.sh
Change-Id: I9f0be08f123df759b1c0f31db0c9e91535f662f0
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
(cherry picked from commit 7e6fc9fae1307849fc74b9ee03e19cd4a4b1affd)
Diffstat (limited to 'core/recipes-connectivity/iproute2/iproute2/0001-make-configure-cross-compile-safe.patch')
-rw-r--r-- | core/recipes-connectivity/iproute2/iproute2/0001-make-configure-cross-compile-safe.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/core/recipes-connectivity/iproute2/iproute2/0001-make-configure-cross-compile-safe.patch b/core/recipes-connectivity/iproute2/iproute2/0001-make-configure-cross-compile-safe.patch new file mode 100644 index 0000000..95f9d30 --- /dev/null +++ b/core/recipes-connectivity/iproute2/iproute2/0001-make-configure-cross-compile-safe.patch @@ -0,0 +1,38 @@ +From fc00c43f31ca66c7ef081e86efd7cd54ec6a60d5 Mon Sep 17 00:00:00 2001 +From: Koen Kooi <koen@dominion.thruhere.net> +Date: Thu, 3 Nov 2011 10:46:16 +0100 +Subject: [PATCH 1/4] make configure cross compile safe + +According to Kevin Tian: +Upstream-Status: Pending + +Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> +Signed-off-by: Shane Wang <shane.wang@intel.com> +--- + configure | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/configure b/configure +index 5ef5cd4cf9cd..9a092e749ff3 100755 +--- a/configure ++++ b/configure +@@ -3,6 +3,7 @@ + # This is not an autoconf generated configure + # + INCLUDE=${1:-"$PWD/include"} ++SYSROOT=$1 + + # Output file which is input to Makefile + CONFIG=config.mk +@@ -184,7 +185,7 @@ check_ipt_lib_dir() + return + fi + +- for dir in /lib /usr/lib /usr/local/lib ++ for dir in $SYSROOT/lib $SYSROOT/usr/lib $SYSROOT/usr/local/lib + do + for file in $dir/{xtables,iptables}/lib*t_*so ; do + if [ -f $file ]; then +-- +2.17.0 + |