diff options
Diffstat (limited to 'meta/recipes-connectivity/iproute2/iproute2.inc')
-rw-r--r-- | meta/recipes-connectivity/iproute2/iproute2.inc | 16 |
1 files changed, 13 insertions, 3 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" |