diff options
author | Adrian Dudau <adrian.dudau@enea.com> | 2013-12-12 13:38:32 +0100 |
---|---|---|
committer | Adrian Dudau <adrian.dudau@enea.com> | 2013-12-12 13:50:20 +0100 |
commit | e2e6f6fe07049f33cb6348780fa975162752e421 (patch) | |
tree | b1813295411235d1297a0ed642b1346b24fdfb12 /meta/recipes-connectivity/iproute2/iproute2.inc | |
download | poky-e2e6f6fe07049f33cb6348780fa975162752e421.tar.gz |
initial commit of Enea Linux 3.1
Migrated from the internal git server on the dora-enea branch
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'meta/recipes-connectivity/iproute2/iproute2.inc')
-rw-r--r-- | meta/recipes-connectivity/iproute2/iproute2.inc | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/iproute2/iproute2.inc b/meta/recipes-connectivity/iproute2/iproute2.inc new file mode 100644 index 0000000000..3db21db8d9 --- /dev/null +++ b/meta/recipes-connectivity/iproute2/iproute2.inc | |||
@@ -0,0 +1,37 @@ | |||
1 | SUMMARY = "TCP / IP networking and traffic control utilities" | ||
2 | DESCRIPTION = "Iproute2 is a collection of utilities for controlling \ | ||
3 | TCP / IP networking and traffic control in Linux. Of the utilities ip \ | ||
4 | and tc are the most important. ip controls IPv4 and IPv6 \ | ||
5 | configuration and tc stands for traffic control." | ||
6 | HOMEPAGE = "http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2" | ||
7 | SECTION = "base" | ||
8 | LICENSE = "GPLv2+" | ||
9 | LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a \ | ||
10 | file://ip/ip.c;beginline=3;endline=8;md5=689d691d0410a4b64d3899f8d6e31817" | ||
11 | |||
12 | DEPENDS = "flex-native bison-native iptables" | ||
13 | |||
14 | inherit update-alternatives | ||
15 | |||
16 | EXTRA_OEMAKE = "CC='${CC}' KERNEL_INCLUDE=${STAGING_INCDIR} DOCDIR=${docdir}/iproute2 SUBDIRS='lib tc ip' SBINDIR='${base_sbindir}' LIBDIR='${libdir}'" | ||
17 | |||
18 | do_install () { | ||
19 | oe_runmake DESTDIR=${D} install | ||
20 | mv ${D}${base_sbindir}/ip ${D}${base_sbindir}/ip.iproute2 | ||
21 | install -d ${D}${datadir} | ||
22 | mv ${D}/share/* ${D}${datadir}/ || true | ||
23 | rm ${D}/share -rf || true | ||
24 | } | ||
25 | |||
26 | # There are only .so files in iproute2 | ||
27 | INSANE_SKIP_${PN} = "dev-so" | ||
28 | |||
29 | FILES_${PN} += "${libdir}/tc" | ||
30 | FILES_${PN}-dbg += "${libdir}/tc/.debug" | ||
31 | |||
32 | ALTERNATIVE_${PN} = "ip" | ||
33 | ALTERNATIVE_TARGET[ip] = "${base_sbindir}/ip.${BPN}" | ||
34 | ALTERNATIVE_LINK_NAME[ip] = "${base_sbindir}/ip" | ||
35 | ALTERNATIVE_PRIORITY = "100" | ||
36 | |||
37 | PARALLEL_MAKE = "" | ||