diff options
| -rw-r--r-- | recipes-dpaa2/dpl-examples/dpl-examples_git.bb | 28 | 
1 files changed, 28 insertions, 0 deletions
| 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 000000000..17296ffd5 --- /dev/null +++ b/recipes-dpaa2/dpl-examples/dpl-examples_git.bb | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | SUMMARY = "Datapath layout examples" | ||
| 2 | LICENSE = "Freescale-EULA" | ||
| 3 | LIC_FILES_CHKSUM = "file://EULA;md5=c9ae442cf1f9dd6c13dfad64b0ffe73f" | ||
| 4 | |||
| 5 | DEPENDS = "dtc-native" | ||
| 6 | |||
| 7 | inherit deploy | ||
| 8 | |||
| 9 | SRC_URI = "git://git.freescale.com/ppc/sdk/dpl-examples.git;branch=sdk-v2.0.x" | ||
| 10 | SRCREV = "2f8a6c2c0607b663afd69aa0477c2047f25031ca" | ||
| 11 | |||
| 12 | S = "${WORKDIR}/git" | ||
| 13 | |||
| 14 | do_install () { | ||
| 15 | install -d ${D}/boot | ||
| 16 | install -m 644 ${S}/ls2080a/RDB/*.dtb ${D}/boot | ||
| 17 | } | ||
| 18 | |||
| 19 | do_deploy () { | ||
| 20 | install -d ${DEPLOYDIR}/dpl-examples | ||
| 21 | install -m 644 ${S}/ls2080a/RDB/*.dtb ${DEPLOYDIR}/dpl-examples | ||
| 22 | } | ||
| 23 | addtask deploy before do_build after do_install | ||
| 24 | |||
| 25 | PACKAGES += "${PN}-image" | ||
| 26 | FILES_${PN}-image += "/boot" | ||
| 27 | |||
| 28 | COMPATIBLE_MACHINE = "(ls2080ardb)" | ||
