]> code.ossystems Code Review - meta-freescale.git/commitdiff
ls2-rcw: Add recipe
authorZongchun Yu <zongchun.yu@nxp.com>
Fri, 15 Jul 2016 16:28:38 +0000 (00:28 +0800)
committerOtavio Salvador <otavio@ossystems.com.br>
Fri, 22 Jul 2016 14:30:51 +0000 (11:30 -0300)
Signed-off-by: Zongchun Yu <zongchun.yu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
recipes-bsp/rcw/ls2-rcw_git.bb [new file with mode: 0644]

diff --git a/recipes-bsp/rcw/ls2-rcw_git.bb b/recipes-bsp/rcw/ls2-rcw_git.bb
new file mode 100644 (file)
index 0000000..b6d9ccd
--- /dev/null
@@ -0,0 +1,29 @@
+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 () {
+    install -d ${D}/boot/rcw
+    cp -r ${S}/ls2080a/RDB/* ${D}/boot/rcw
+}
+
+do_deploy () {
+    install -d ${DEPLOYDIR}/rcw
+    cp -r ${S}/ls2080a/RDB/* ${DEPLOYDIR}/rcw
+}
+addtask deploy before do_build after do_install
+
+PACKAGES += "${PN}-image"
+FILES_${PN}-image += "/boot"
+COMPATIBLE_MACHINE = "(ls2080ardb)"