summaryrefslogtreecommitdiffstats
path: root/recipes-extended/dpdk/dpdk-extras_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-extended/dpdk/dpdk-extras_git.bb')
-rw-r--r--recipes-extended/dpdk/dpdk-extras_git.bb27
1 files changed, 27 insertions, 0 deletions
diff --git a/recipes-extended/dpdk/dpdk-extras_git.bb b/recipes-extended/dpdk/dpdk-extras_git.bb
new file mode 100644
index 00000000..a18c467e
--- /dev/null
+++ b/recipes-extended/dpdk/dpdk-extras_git.bb
@@ -0,0 +1,27 @@
1DESCRIPTION = "Data Plane Development Kit Extended utilities"
2HOMEPAGE = "http://dpdk.org"
3LICENSE = "GPLv2"
4LIC_FILES_CHKSUM = "file://LICENSE.GPL;md5=751419260aa954499f7abaabaa882bbe"
5
6RDEPENDS_${PN} = "dpdk"
7
8SRC_URI = "git://git.freescale.com/ppc/sdk/dpdk-extras.git;nobranch=1"
9SRCREV = "ebc515aad0605ad90d8ade5c1fde60d8da86973f"
10
11S = "${WORKDIR}/git"
12
13DPAA_VER ?= "dpaa2"
14DPAA_VER_fsl-lsch2 = "dpaa"
15
16do_install() {
17 install -d ${D}/${bindir}/dpdk-example/extras
18
19 for file_suffix in xml sh; do
20 if [ "`ls ${S}/${DPAA_VER}/*.${file_suffix}`" != "" ]; then
21 install -m 755 ${S}/${DPAA_VER}/*.${file_suffix} ${D}/${bindir}/dpdk-example/extras
22 fi
23 done
24}
25
26PACKAGE_ARCH = "${MACHINE_ARCH}"
27COMPATIBLE_MACHINE = "(ls2080ardb|ls2084ardb|ls2088a|ls1043a|ls1046a)"