From: Ting Liu <ting....@nxp.com> * 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....@nxp.com> --- recipes-bsp/rcw/ls2-rcw_git.bb | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/recipes-bsp/rcw/ls2-rcw_git.bb b/recipes-bsp/rcw/ls2-rcw_git.bb index 8a0c130..fafd914 100644 --- a/recipes-bsp/rcw/ls2-rcw_git.bb +++ b/recipes-bsp/rcw/ls2-rcw_git.bb @@ -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)" -- 1.9.0 -- _______________________________________________ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale