]> code.ossystems Code Review - meta-freescale.git/commitdiff
ls2-rcw: update to 83a7a66
authorTing Liu <ting.liu@nxp.com>
Fri, 17 Mar 2017 07:51:08 +0000 (15:51 +0800)
committerOtavio Salvador <otavio@ossystems.com.br>
Fri, 17 Mar 2017 20:04:04 +0000 (17:04 -0300)
* add support for ls1012a.
* strip possible '-32b', '-64b' and '-be' to match folder name.
New commits:
83a7a66 ls1088a: Remove ls1088 directory
585f03e ls208xa: Make folders and name consistent
6a7a0e5 ls2088a: Delete ls2088a rcws as it is not part of SDK
f358729 ls1012a: Make folders and name consistent
5b5695f ls1012a: Add support of RCW for FRDM, RDB and QDS boards

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
recipes-bsp/rcw/ls2-rcw_git.bb

index 8a0c130f74b0848b5639e571f7e368d9bc39e695..fafd914112d6b657d67c8f3fd75a86fe95650abc 100644 (file)
@@ -3,27 +3,29 @@ DESCRIPTION = "Reset Configuration Word - hardware boot-time parameters for the
 LICENSE = "Freescale-Binary-EULA"
 LIC_FILES_CHKSUM = "file://Freescale-Binary-EULA;md5=8835a59e50213e1b21243dd00c933e47"
 
-inherit deploy
+inherit deploy siteinfo
 
 INHIBIT_DEFAULT_DEPS = "1"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
 SRC_URI = "git://git.freescale.com/ppc/sdk/ls2-rcw.git;nobranch=1"
-SRCREV = "8a050e0779a9d03ea488d01cc1a31d1e2b1efdba"
+SRCREV = "83a7a661404b760874759073c9f14c8c2c8a9af3"
 
 S = "${WORKDIR}/git"
 
+M="${@d.getVar('MACHINE', True).replace('-64b','').replace('-32b','').replace('-${SITEINFO_ENDIANNESS}','')}"
+
 do_install () {
     install -d ${D}/boot/rcw
-    cp -r ${S}/ls2080a/RDB/* ${D}/boot/rcw
+    cp -a ${S}/${M} ${D}/boot/rcw/
 }
 
 do_deploy () {
     install -d ${DEPLOYDIR}/rcw
-    cp -r ${S}/ls2080a/RDB/* ${DEPLOYDIR}/rcw
+    cp -a ${S}/${M} ${DEPLOYDIR}/rcw/
 }
 addtask deploy before do_build after do_install
 
 PACKAGES += "${PN}-image"
 FILES_${PN}-image += "/boot"
-COMPATIBLE_MACHINE = "(ls2080ardb)"
+COMPATIBLE_MACHINE = "(ls1012a|ls2080a)"