[meta-freescale] [meta-freescale-layer][PATCH 31/67] ls2-rcw: Add recipe

ting.liu at nxp.com ting.liu at nxp.com
Mon Jul 4 03:41:49 PDT 2016


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

Signed-off-by: Zongchun Yu <zongchun.yu at nxp.com>
---
 recipes-bsp/rcw/ls2-rcw_git.bb | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 recipes-bsp/rcw/ls2-rcw_git.bb

diff --git a/recipes-bsp/rcw/ls2-rcw_git.bb b/recipes-bsp/rcw/ls2-rcw_git.bb
new file mode 100644
index 0000000..cb46778
--- /dev/null
+++ b/recipes-bsp/rcw/ls2-rcw_git.bb
@@ -0,0 +1,31 @@
+SUMMARY = "Reset Configuration Word"
+DESCRIPTION = "Reset Configuration Word - hardware boot-time parameters for the QorIQ targets"
+LICENSE = "Freescale-EULA"
+LIC_FILES_CHKSUM = "file://EULA;md5=c9ae442cf1f9dd6c13dfad64b0ffe73f"
+
+inherit deploy
+
+INHIBIT_DEFAULT_DEPS = "1"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+SRC_URI = "git://git.freescale.com/ppc/sdk/ls2-rcw.git;branch=sdk-v2.0.x"
+SRCREV = "74ec3bcdf33fbbedf417b800e0d486d1e8031115"
+
+S = "${WORKDIR}/git"
+
+do_install () {
+    M=`echo ${MACHINE} | sed -e 's,[b-z-]*$,,'`
+    install -d ${D}/boot/rcw
+    cp -r ${S}/${M}/RDB/* ${D}/boot/rcw
+}
+
+do_deploy () {
+    M=`echo ${MACHINE} | sed -e 's,[b-z-]*$,,'`
+    install -d ${DEPLOYDIR}/rcw
+    cp -r ${S}/${M}/RDB/* ${DEPLOYDIR}/rcw
+}
+addtask deploy before do_build after do_install
+
+PACKAGES += "${PN}-image"
+FILES_${PN}-image += "/boot"
+COMPATIBLE_MACHINE = "(ls2080ardb)"
-- 
1.9.2



More information about the meta-freescale mailing list