[meta-freescale] [meta-freescale-layer][PATCH 7/7] management-complex: Add recipe

ting.liu at nxp.com ting.liu at nxp.com
Fri Jul 15 09:28:40 PDT 2016


From: Zongchun Yu <zongchun.yu at nxp.com>

Signed-off-by: Zongchun Yu <zongchun.yu at nxp.com>
---
 .../management-complex/management-complex_0.8.4.bb | 33 ++++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 recipes-dpaa2/management-complex/management-complex_0.8.4.bb

diff --git a/recipes-dpaa2/management-complex/management-complex_0.8.4.bb b/recipes-dpaa2/management-complex/management-complex_0.8.4.bb
new file mode 100644
index 0000000..924a573
--- /dev/null
+++ b/recipes-dpaa2/management-complex/management-complex_0.8.4.bb
@@ -0,0 +1,33 @@
+SUMMARY = "DPAA2 Management Complex Firmware"
+LICENSE = "Freescale-Binary-EULA"
+LIC_FILES_CHKSUM = "file://Freescale-Binary-EULA;md5=da89ad557c4a497fb005e76c2600cda3"
+
+inherit deploy
+
+INHIBIT_DEFAULT_DEPS = "1"
+
+SRC_URI = "git://git.freescale.com/ppc/sdk/mc-binary.git;branch=sdk-v2.0.x"
+SRCREV = "40e7cc7bfc9b35488394450605d649cb7073051a"
+
+S = "${WORKDIR}/git"
+
+do_install () {
+    install -d ${D}/boot
+    install -m 755 ${S}/ls2080a/*.itb ${D}/boot
+}
+
+do_deploy () {
+    install -d ${DEPLOYDIR}/mc_app
+    install -m 755 ${S}/ls2080a/*.itb ${DEPLOYDIR}/mc_app
+    # make a symlink to the latest binary
+    for mc_binary in `ls ${DEPLOYDIR}/mc_app |sort`;do
+        ln -sfT ${mc_binary} ${DEPLOYDIR}/mc_app/mc.itb
+    done
+}
+addtask deploy before do_build after do_install
+
+PACKAGES += "${PN}-image"
+FILES_${PN}-image += "/boot"
+
+INHIBIT_PACKAGE_STRIP = "1"
+COMPATIBLE_MACHINE = "(ls2080ardb)"
-- 
1.9.2



More information about the meta-freescale mailing list