[meta-freescale] [distro][PATCH 2/2] imx-m4-demos: Add i.MX 7ULP M4 Demo images

Jun Zhu junzhu at nxp.com
Fri Sep 29 04:01:14 PDT 2017


Signed-off-by: Jun Zhu <junzhu at nxp.com>
---
 recipes-fsl/m4-demos/imx-m4-demos_7ulp-beta.bb | 30 ++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 recipes-fsl/m4-demos/imx-m4-demos_7ulp-beta.bb

diff --git a/recipes-fsl/m4-demos/imx-m4-demos_7ulp-beta.bb b/recipes-fsl/m4-demos/imx-m4-demos_7ulp-beta.bb
new file mode 100644
index 0000000..a3ef27e
--- /dev/null
+++ b/recipes-fsl/m4-demos/imx-m4-demos_7ulp-beta.bb
@@ -0,0 +1,30 @@
+# Copyright (C) 2016 Freescale Semiconductor
+# Copyright 2017 NXP
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+SUMMARY = "i.MX M4 core Demo images"
+SECTION = "app"
+LICENSE = "Proprietary"
+LIC_FILES_CHKSUM = "file://COPYING;md5=6b552f505eedab4a11ab538cf3db743a"
+
+inherit deploy fsl-eula-unpack
+
+M4_PKG_NAME = "imx7ulp-m4-demo-beta"
+SRC_URI = "${FSL_MIRROR}/${M4_PKG_NAME}.bin;fsl-eula=true"
+S = "${WORKDIR}/${M4_PKG_NAME}"
+
+SRC_URI[md5sum] = "c6e789351bb5e57bcafc920544ff2157"
+SRC_URI[sha256sum] = "11001f3eeb4856c4299e1fc309b9b875759ffa1589a8d88b24aac7c349769ea7"
+
+do_deploy () {
+   # Install the demo binaries
+   install -d ${DEPLOYDIR}
+   find ${S}/ -name "*.img" -exec cp {} ${DEPLOYDIR}/ \;
+   ls ${DEPLOYDIR}/
+}
+
+addtask deploy before do_build after do_compile
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+COMPATIBLE_MACHINE = "(mx7ulp)"
+
-- 
2.7.4



More information about the meta-freescale mailing list