From fafbcaa2ea766016bc17ad73c94476b3977ce883 Mon Sep 17 00:00:00 2001 From: Chunrong Guo Date: Mon, 28 May 2018 13:54:51 +0800 Subject: [PATCH] rcw: need install rev1.1 folder for ls2088ardb Signed-off-by: Chunrong Guo Signed-off-by: Otavio Salvador --- 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 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 -- 2.40.1