From ac8d7fb81b1108507038151f9dfcf831546c26a1 Mon Sep 17 00:00:00 2001 From: Zongchun Yu Date: Sat, 16 Jul 2016 00:28:37 +0800 Subject: dpl-examples: Add recipe Signed-off-by: Zongchun Yu Signed-off-by: Otavio Salvador --- recipes-dpaa2/dpl-examples/dpl-examples_git.bb | 28 ++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 recipes-dpaa2/dpl-examples/dpl-examples_git.bb (limited to 'recipes-dpaa2/dpl-examples') 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 00000000..17296ffd --- /dev/null +++ b/recipes-dpaa2/dpl-examples/dpl-examples_git.bb @@ -0,0 +1,28 @@ +SUMMARY = "Datapath layout examples" +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 () { + install -d ${D}/boot + install -m 644 ${S}/ls2080a/RDB/*.dtb ${D}/boot +} + +do_deploy () { + install -d ${DEPLOYDIR}/dpl-examples + install -m 644 ${S}/ls2080a/RDB/*.dtb ${DEPLOYDIR}/dpl-examples +} +addtask deploy before do_build after do_install + +PACKAGES += "${PN}-image" +FILES_${PN}-image += "/boot" + +COMPATIBLE_MACHINE = "(ls2080ardb)" -- cgit v1.2.3-54-g00ecf