From: Chunrong Guo <chunrong....@nxp.com> Signed-off-by: Chunrong Guo <chunrong....@nxp.com> --- recipes-bsp/rcw/rcw_git.bb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/recipes-bsp/rcw/rcw_git.bb b/recipes-bsp/rcw/rcw_git.bb index 01653b3..0f5c94e 100644 --- a/recipes-bsp/rcw/rcw_git.bb +++ b/recipes-bsp/rcw/rcw_git.bb @@ -17,12 +17,11 @@ export PYTHON = "${USRBINPATH}/python2" M="${@d.getVar('MACHINE', True).replace('-64b','').replace('-32b','').replace('-${SITEINFO_ENDIANNESS}','')}" do_install () { - if [ -f ${S}/${M}/Makefile ]; then + if [ ${M} = ls2088ardb ]; then oe_runmake BOARDS=${M} DESTDIR=${D}/boot/rcw/ install + oe_runmake BOARDS=${M}_rev1.1 DESTDIR=${D}/boot/rcw/ install else - install -d ${D}/boot/rcw - cp -a ${S}/${M} ${D}/boot/rcw/ - chown -R root:root ${D} + oe_runmake BOARDS=${M} DESTDIR=${D}/boot/rcw/ install fi for f in `find ${D}/boot/rcw/ -name "*qspiboot*"`;do if echo $f |grep -q "qspiboot_sben"; then -- 2.7.4 -- _______________________________________________ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale