diff options
| author | Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> | 2019-03-31 18:55:15 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-04-12 14:05:37 +0100 |
| commit | af207637e260f6487cd2aec9df3af6c5ecb61a35 (patch) | |
| tree | 31d1f6ab2259b206425ede9b167033ed0a5d8eb0 | |
| parent | de8ae58f46973c892771fc59c3bd3ba348d2bba0 (diff) | |
| download | poky-af207637e260f6487cd2aec9df3af6c5ecb61a35.tar.gz | |
iproute2: update to 5.0.0
(From OE-Core rev: 4861becda779e79f0f52c94a0869c9aab9c92a42)
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-connectivity/iproute2/iproute2.inc | 16 | ||||
| -rw-r--r-- | meta/recipes-connectivity/iproute2/iproute2/configure-cross.patch | 31 | ||||
| -rw-r--r-- | meta/recipes-connectivity/iproute2/iproute2_5.0.0.bb (renamed from meta/recipes-connectivity/iproute2/iproute2_4.19.0.bb) | 4 |
3 files changed, 34 insertions, 17 deletions
diff --git a/meta/recipes-connectivity/iproute2/iproute2.inc b/meta/recipes-connectivity/iproute2/iproute2.inc index 1aa1eec0de..d72871767f 100644 --- a/meta/recipes-connectivity/iproute2/iproute2.inc +++ b/meta/recipes-connectivity/iproute2/iproute2.inc | |||
| @@ -18,7 +18,8 @@ CLEANBROKEN = "1" | |||
| 18 | PACKAGECONFIG ??= "tipc" | 18 | PACKAGECONFIG ??= "tipc" |
| 19 | PACKAGECONFIG[tipc] = ",,libmnl," | 19 | PACKAGECONFIG[tipc] = ",,libmnl," |
| 20 | 20 | ||
| 21 | EXTRA_OEMAKE = "CC='${CC}' KERNEL_INCLUDE=${STAGING_INCDIR} DOCDIR=${docdir}/iproute2 SUBDIRS='lib tc ip bridge misc genl ${@bb.utils.contains('PACKAGECONFIG', 'tipc', 'tipc', '', d)}' SBINDIR='${base_sbindir}' LIBDIR='${libdir}'" | 21 | EXTRA_OEMAKE = "CC='${CC}' KERNEL_INCLUDE=${STAGING_INCDIR} DOCDIR=${docdir}/iproute2 SUBDIRS='lib tc ip bridge misc genl \ |
| 22 | ${@bb.utils.contains('PACKAGECONFIG', 'tipc', 'tipc', '', d)}' SBINDIR='${base_sbindir}' LIBDIR='${libdir}'" | ||
| 22 | 23 | ||
| 23 | do_configure_append () { | 24 | do_configure_append () { |
| 24 | sh configure ${STAGING_INCDIR} | 25 | sh configure ${STAGING_INCDIR} |
| @@ -37,10 +38,19 @@ do_install () { | |||
| 37 | # The .so files in iproute2-tc are modules, not traditional libraries | 38 | # The .so files in iproute2-tc are modules, not traditional libraries |
| 38 | INSANE_SKIP_${PN}-tc = "dev-so" | 39 | INSANE_SKIP_${PN}-tc = "dev-so" |
| 39 | 40 | ||
| 40 | PACKAGES =+ "${PN}-tc ${PN}-lnstat ${PN}-ifstat ${PN}-genl ${PN}-rtacct ${PN}-nstat ${PN}-ss ${@bb.utils.contains('PACKAGECONFIG', 'tipc', '${PN}-tipc', '', d)}" | 41 | PACKAGES =+ "${PN}-tc \ |
| 42 | ${PN}-lnstat \ | ||
| 43 | ${PN}-ifstat \ | ||
| 44 | ${PN}-genl \ | ||
| 45 | ${PN}-rtacct \ | ||
| 46 | ${PN}-nstat \ | ||
| 47 | ${PN}-ss \ | ||
| 48 | ${@bb.utils.contains('PACKAGECONFIG', 'tipc', '${PN}-tipc', '', d)}" | ||
| 41 | FILES_${PN}-tc = "${base_sbindir}/tc* \ | 49 | FILES_${PN}-tc = "${base_sbindir}/tc* \ |
| 42 | ${libdir}/tc/*.so" | 50 | ${libdir}/tc/*.so" |
| 43 | FILES_${PN}-lnstat = "${base_sbindir}/lnstat ${base_sbindir}/ctstat ${base_sbindir}/rtstat" | 51 | FILES_${PN}-lnstat = "${base_sbindir}/lnstat \ |
| 52 | ${base_sbindir}/ctstat \ | ||
| 53 | ${base_sbindir}/rtstat" | ||
| 44 | FILES_${PN}-ifstat = "${base_sbindir}/ifstat" | 54 | FILES_${PN}-ifstat = "${base_sbindir}/ifstat" |
| 45 | FILES_${PN}-genl = "${base_sbindir}/genl" | 55 | FILES_${PN}-genl = "${base_sbindir}/genl" |
| 46 | FILES_${PN}-rtacct = "${base_sbindir}/rtacct" | 56 | FILES_${PN}-rtacct = "${base_sbindir}/rtacct" |
diff --git a/meta/recipes-connectivity/iproute2/iproute2/configure-cross.patch b/meta/recipes-connectivity/iproute2/iproute2/configure-cross.patch index 8b75a2ada4..b0c4a088fa 100644 --- a/meta/recipes-connectivity/iproute2/iproute2/configure-cross.patch +++ b/meta/recipes-connectivity/iproute2/iproute2/configure-cross.patch | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | From 85b0589b4843c03e8e6fd9416d71ea449a73c5c0 Mon Sep 17 00:00:00 2001 | 1 | From 3835b1cc4a55361443c2b37dea688da652217635 Mon Sep 17 00:00:00 2001 |
| 2 | From: Koen Kooi <koen@dominion.thruhere.net> | 2 | From: Koen Kooi <koen@dominion.thruhere.net> |
| 3 | Date: Thu, 3 Nov 2011 10:46:16 +0100 | 3 | Date: Sun, 31 Mar 2019 17:32:07 +0200 |
| 4 | Subject: [PATCH] make configure cross compile safe | 4 | Subject: [PATCH] make configure cross compile safe |
| 5 | 5 | ||
| 6 | According to Kevin Tian: | 6 | According to Kevin Tian: |
| @@ -9,11 +9,15 @@ Upstream-Status: Pending | |||
| 9 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | 9 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> |
| 10 | Signed-off-by: Shane Wang <shane.wang@intel.com> | 10 | Signed-off-by: Shane Wang <shane.wang@intel.com> |
| 11 | 11 | ||
| 12 | Index: iproute2-4.14.1/configure | 12 | --- |
| 13 | =================================================================== | 13 | configure | 3 ++- |
| 14 | --- iproute2-4.14.1.orig/configure | 14 | 1 file changed, 2 insertions(+), 1 deletion(-) |
| 15 | +++ iproute2-4.14.1/configure | 15 | |
| 16 | @@ -2,6 +2,7 @@ | 16 | diff --git a/configure b/configure |
| 17 | index 45fcffb6..0c5c9146 100755 | ||
| 18 | --- a/configure | ||
| 19 | +++ b/configure | ||
| 20 | @@ -3,6 +3,7 @@ | ||
| 17 | # This is not an autoconf generated configure | 21 | # This is not an autoconf generated configure |
| 18 | # | 22 | # |
| 19 | INCLUDE=${1:-"$PWD/include"} | 23 | INCLUDE=${1:-"$PWD/include"} |
| @@ -21,12 +25,15 @@ Index: iproute2-4.14.1/configure | |||
| 21 | 25 | ||
| 22 | # Output file which is input to Makefile | 26 | # Output file which is input to Makefile |
| 23 | CONFIG=config.mk | 27 | CONFIG=config.mk |
| 24 | @@ -195,7 +196,7 @@ check_ipt_lib_dir() | 28 | @@ -162,7 +163,7 @@ check_ipt_lib_dir() |
| 25 | return | 29 | return |
| 26 | fi | 30 | fi |
| 27 | 31 | ||
| 28 | - for dir in /lib /usr/lib /usr/local/lib | 32 | - for dir in /lib /usr/lib /usr/local/lib; do |
| 29 | + for dir in $SYSROOT/lib $SYSROOT/usr/lib $SYSROOT/usr/local/lib | 33 | + for dir in $SYSROOT/lib $SYSROOT/usr/lib $SYSROOT/usr/local/lib; do |
| 30 | do | 34 | for file in "xtables" "iptables"; do |
| 31 | for file in $dir/{xtables,iptables}/lib*t_*so ; do | 35 | file="$dir/$file/lib*t_*so" |
| 32 | if [ -f $file ]; then | 36 | if [ -f $file ]; then |
| 37 | -- | ||
| 38 | 2.17.1 | ||
| 39 | |||
diff --git a/meta/recipes-connectivity/iproute2/iproute2_4.19.0.bb b/meta/recipes-connectivity/iproute2/iproute2_5.0.0.bb index 6db4062d68..c5ac987b6f 100644 --- a/meta/recipes-connectivity/iproute2/iproute2_4.19.0.bb +++ b/meta/recipes-connectivity/iproute2/iproute2_5.0.0.bb | |||
| @@ -6,8 +6,8 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/net/${BPN}/${BP}.tar.xz \ | |||
| 6 | file://0001-ip-Remove-unneed-header.patch \ | 6 | file://0001-ip-Remove-unneed-header.patch \ |
| 7 | " | 7 | " |
| 8 | 8 | ||
| 9 | SRC_URI[md5sum] = "67eeebacaac4515cab73dfd2fc796af3" | 9 | SRC_URI[md5sum] = "d22107b4d7cfb999eeb8ad8a0aec1124" |
| 10 | SRC_URI[sha256sum] = "d9ec5ca1f47d8a85416fa26e7dc1cbf5d067640eb60e90bdc1c7e5bdc6a29984" | 10 | SRC_URI[sha256sum] = "df047302a39650ef832c07e8dab5df7a23218cd398bd310c8628e386161d20ba" |
| 11 | 11 | ||
| 12 | # CFLAGS are computed in Makefile and reference CCOPTS | 12 | # CFLAGS are computed in Makefile and reference CCOPTS |
| 13 | # | 13 | # |
