diff options
Diffstat (limited to 'recipes-extended/dpdk/dpdk-extras_git.bb')
-rw-r--r-- | recipes-extended/dpdk/dpdk-extras_git.bb | 27 |
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 @@ | |||
1 | DESCRIPTION = "Data Plane Development Kit Extended utilities" | ||
2 | HOMEPAGE = "http://dpdk.org" | ||
3 | LICENSE = "GPLv2" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE.GPL;md5=751419260aa954499f7abaabaa882bbe" | ||
5 | |||
6 | RDEPENDS_${PN} = "dpdk" | ||
7 | |||
8 | SRC_URI = "git://git.freescale.com/ppc/sdk/dpdk-extras.git;nobranch=1" | ||
9 | SRCREV = "ebc515aad0605ad90d8ade5c1fde60d8da86973f" | ||
10 | |||
11 | S = "${WORKDIR}/git" | ||
12 | |||
13 | DPAA_VER ?= "dpaa2" | ||
14 | DPAA_VER_fsl-lsch2 = "dpaa" | ||
15 | |||
16 | do_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 | |||
26 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
27 | COMPATIBLE_MACHINE = "(ls2080ardb|ls2084ardb|ls2088a|ls1043a|ls1046a)" | ||