[meta-freescale] [meta-fsl-arm][PATCH 17/41] dpl-examples: Add recipe
ting.liu at nxp.com
ting.liu at nxp.com
Fri Jun 24 03:41:12 PDT 2016
From: Zongchun Yu <zongchun.yu at nxp.com>
Signed-off-by: Zongchun Yu <zongchun.yu at nxp.com>
---
recipes-dpaa2/dpl-examples/dpl-examples_git.bb | 30 ++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
create mode 100644 recipes-dpaa2/dpl-examples/dpl-examples_git.bb
diff --git a/recipes-dpaa2/dpl-examples/dpl-examples_git.bb b/recipes-dpaa2/dpl-examples/dpl-examples_git.bb
new file mode 100644
index 0000000..867067b
--- /dev/null
+++ b/recipes-dpaa2/dpl-examples/dpl-examples_git.bb
@@ -0,0 +1,30 @@
+SUMMARY = "Datapath layout files"
+LICENSE = "Freescale-EULA"
+LIC_FILES_CHKSUM = "file://EULA;md5=c9ae442cf1f9dd6c13dfad64b0ffe73f"
+
+DEPENDS = "dtc-native"
+
+inherit deploy
+
+SRC_URI = "git://git.freescale.com/ppc/sdk/dpl-examples.git;branch=sdk-v2.0.x"
+SRCREV = "2f8a6c2c0607b663afd69aa0477c2047f25031ca"
+
+S = "${WORKDIR}/git"
+
+do_install () {
+ M=`echo ${MACHINE} | sed -e 's,[b-z-]*$,,'`
+ install -d ${D}/boot
+ install -m 644 ${S}/${M}/RDB/*.dtb ${D}/boot
+}
+
+do_deploy () {
+ M=`echo ${MACHINE} | sed -e 's,[b-z-]*$,,'`
+ install -d ${DEPLOYDIR}/dpl-examples
+ install -m 644 ${S}/${M}/RDB/*.dtb ${DEPLOYDIR}/dpl-examples
+}
+addtask deploy before do_build after do_install
+
+PACKAGES += "${PN}-image"
+FILES_${PN}-image += "/boot"
+
+COMPATIBLE_MACHINE = "(ls2080ardb)"
--
1.9.2
More information about the meta-freescale
mailing list