[meta-freescale] [meta-fsl-arm][PATCH 40/41] dpa-offload: add recipe
ting.liu at nxp.com
ting.liu at nxp.com
Fri Jun 24 03:41:35 PDT 2016
From: Ting Liu <ting.liu at nxp.com>
Signed-off-by: Ting Liu <ting.liu at nxp.com>
---
recipes-dpaa/dpa-offload/dpa-offload_git.bb | 45 +++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
create mode 100644 recipes-dpaa/dpa-offload/dpa-offload_git.bb
diff --git a/recipes-dpaa/dpa-offload/dpa-offload_git.bb b/recipes-dpaa/dpa-offload/dpa-offload_git.bb
new file mode 100644
index 0000000..d0037cc
--- /dev/null
+++ b/recipes-dpaa/dpa-offload/dpa-offload_git.bb
@@ -0,0 +1,45 @@
+DESCRIPTION = "Data-Path Acceleration Architecture Offloading User-Space Drivers"
+LICENSE = "BSD & GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=c03ebb7a330b209986517466c74da72c"
+
+inherit pkgconfig
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+DEPENDS = "usdpaa fmlib"
+DEPENDS_append_b4 = " ipc-ust"
+
+RDEPENDS_${PN} = "libgcc bash"
+RDEPENDS_${PN}_append_b4 = " ipc-ust"
+
+SRC_URI = "git://git.freescale.com/ppc/sdk/usdpaa/dpa-offload.git;branch=sdk-v2.0.x"
+SRCREV = "fed08b0667172fbe47d256b7d08be955e3333fdf"
+
+S = "${WORKDIR}/git"
+
+WRAP_ARCH ?= "${TARGET_ARCH}"
+WRAP_ARCH_fsl-lsch2 = "arm64"
+EXTRA_OEMAKE = 'CC="${CC}" LD="${LD}" ARCH="${WRAP_ARCH}"'
+
+FMAN_VARIANT ?= "P4080"
+FMAN_VARIANT_b4 = "FMAN_V3H"
+FMAN_VARIANT_t1 = "FMAN_V3L"
+FMAN_VARIANT_t2 = "FMAN_V3H"
+FMAN_VARIANT_t4 = "FMAN_V3H"
+FMAN_VARIANT_p1023rdb = "P1023"
+
+do_compile_prepend () {
+ export USDPAA_CFLAGS="-I ${STAGING_INCDIR}/usdpaa"
+ export FMLIB_CFLAGS="-I ${STAGING_INCDIR}/fmd \
+ -I ${STAGING_INCDIR}/fmd/Peripherals \
+ -I ${STAGING_INCDIR}/fmd/integrations \
+ -D${FMAN_VARIANT} -DNCSW_LINUX"
+}
+
+do_install () {
+ oe_runmake install DESTDIR=${D}
+}
+
+ALLOW_EMPTY_${PN} = "1"
+PARALLEL_MAKE = ""
+COMPATIBLE_MACHINE = "(qoriq-ppc|fsl-lsch2)"
--
1.9.2
More information about the meta-freescale
mailing list