diff options
Diffstat (limited to 'meta/packages/iproute2/iproute2.inc')
-rw-r--r-- | meta/packages/iproute2/iproute2.inc | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/packages/iproute2/iproute2.inc b/meta/packages/iproute2/iproute2.inc new file mode 100644 index 0000000000..006b27b60f --- /dev/null +++ b/meta/packages/iproute2/iproute2.inc | |||
@@ -0,0 +1,18 @@ | |||
1 | DESCRIPTION = "kernel routing and traffic control utilities" | ||
2 | SECTION = "base" | ||
3 | LICENSE = "GPL" | ||
4 | DEPENDS = "flex-native bison-native" | ||
5 | |||
6 | # Set DATE in the .bb file | ||
7 | SRC_URI = "http://developer.osdl.org/dev/iproute2/download/${P}-${DATE}.tar.gz" | ||
8 | |||
9 | S = "${WORKDIR}/${P}-${DATE}" | ||
10 | |||
11 | EXTRA_OEMAKE = "CC='${CC}' KERNEL_INCLUDE=${STAGING_KERNEL_DIR}/include DOCDIR=${docdir}/iproute2 SUBDIRS='lib tc ip' SBINDIR=/sbin" | ||
12 | |||
13 | do_install () { | ||
14 | oe_runmake DESTDIR=${D} install | ||
15 | } | ||
16 | |||
17 | FILES_${PN} += "/usr/lib/tc/*" | ||
18 | FILES_${PN}-dbg += "/usr/lib/tc/.debug" | ||