[meta-freescale] [meta-fsl-arm][PATCH 14/41] management-complex: Add recipe
ting.liu at nxp.com
ting.liu at nxp.com
Fri Jun 24 03:41:09 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..70da3f2
--- /dev/null
+++ b/recipes-dpaa2/management-complex/management-complex_0.8.4.bb
@@ -0,0 +1,33 @@
+DESCRIPTION = "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 () {
+ M=`echo ${MACHINE} | sed -e 's,[b-z-]*$,,'`
+ install -d ${D}/boot
+ install -m 755 ${S}/${M}/*.itb ${D}/boot
+}
+
+do_deploy () {
+ M=`echo ${MACHINE} | sed -e 's,[b-z-]*$,,'`
+ install -d ${DEPLOYDIR}/mc_app
+ install -m 755 ${S}/${M}/*.itb ${DEPLOYDIR}/mc_app
+ MC_FW=`ls ${S}/${M}/*.itb | xargs basename`
+ ln -sf ${MC_FW} ${DEPLOYDIR}/mc_app/mc.itb
+}
+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