From: Chunrong Guo Date: Mon, 28 May 2018 05:54:51 +0000 (+0800) Subject: rcw: need install rev1.1 folder for ls2088ardb X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=9303920e8fef514446d5c85cd5b66350fd3c0bc1;p=meta-freescale.git rcw: need install rev1.1 folder for ls2088ardb Signed-off-by: Chunrong Guo Signed-off-by: Otavio Salvador --- diff --git a/recipes-bsp/rcw/rcw_git.bb b/recipes-bsp/rcw/rcw_git.bb index 01653b34..0f5c94e1 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