diff options
author | Phil Blundell <philb@gnu.org> | 2012-09-25 17:38:06 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-09-26 15:02:28 +0100 |
commit | 4f68dd9303fdb3a8c0c1f0e79a37b4d1f3ca3717 (patch) | |
tree | ea526e51786e002c7fa49ea706dc0355194c0a38 /meta/recipes-connectivity/iproute2 | |
parent | 6bc5925ea962ff68dcfac72c221b2445f71c78aa (diff) | |
download | poky-4f68dd9303fdb3a8c0c1f0e79a37b4d1f3ca3717.tar.gz |
iproute2: Use configured values for ${base_sbindir} and ${libdir}
These were previously being hard-coded to "/sbin" and "/usr/lib" respectively,
resulting in unpackaged files if the configured values were something else.
(From OE-Core rev: fab44bdb346533edd4f702a83523d7c2414f74e5)
Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/iproute2')
-rw-r--r-- | meta/recipes-connectivity/iproute2/iproute2.inc | 2 | ||||
-rw-r--r-- | meta/recipes-connectivity/iproute2/iproute2_3.5.1.bb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-connectivity/iproute2/iproute2.inc b/meta/recipes-connectivity/iproute2/iproute2.inc index 7caf7d0eef..d8b1a17c11 100644 --- a/meta/recipes-connectivity/iproute2/iproute2.inc +++ b/meta/recipes-connectivity/iproute2/iproute2.inc | |||
@@ -13,7 +13,7 @@ DEPENDS = "flex-native bison-native" | |||
13 | 13 | ||
14 | inherit update-alternatives | 14 | inherit update-alternatives |
15 | 15 | ||
16 | EXTRA_OEMAKE = "CC='${CC}' KERNEL_INCLUDE=${STAGING_KERNEL_DIR}/include DOCDIR=${docdir}/iproute2 SUBDIRS='lib tc ip' SBINDIR=/sbin" | 16 | EXTRA_OEMAKE = "CC='${CC}' KERNEL_INCLUDE=${STAGING_KERNEL_DIR}/include DOCDIR=${docdir}/iproute2 SUBDIRS='lib tc ip' SBINDIR='${base_sbindir}' LIBDIR='${libdir}'" |
17 | 17 | ||
18 | do_install () { | 18 | do_install () { |
19 | oe_runmake DESTDIR=${D} install | 19 | oe_runmake DESTDIR=${D} install |
diff --git a/meta/recipes-connectivity/iproute2/iproute2_3.5.1.bb b/meta/recipes-connectivity/iproute2/iproute2_3.5.1.bb index fc7292ef4f..c1e9bd3a86 100644 --- a/meta/recipes-connectivity/iproute2/iproute2_3.5.1.bb +++ b/meta/recipes-connectivity/iproute2/iproute2_3.5.1.bb | |||
@@ -1,6 +1,6 @@ | |||
1 | require iproute2.inc | 1 | require iproute2.inc |
2 | 2 | ||
3 | PR = "r0" | 3 | PR = "r1" |
4 | 4 | ||
5 | SRC_URI = "${KERNELORG_MIRROR}/linux/utils/net/${BPN}/${BPN}-${PV}.tar.xz \ | 5 | SRC_URI = "${KERNELORG_MIRROR}/linux/utils/net/${BPN}/${BPN}-${PV}.tar.xz \ |
6 | file://configure-cross.patch" | 6 | file://configure-cross.patch" |