[PATCH v2 3/5] rcw: need install rev1.1 folder for ls2088ardb


chunrong.guo@...
 

From: Chunrong Guo <chunrong.guo@...>

Signed-off-by: Chunrong Guo <chunrong.guo@...>
---
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

Join meta-freescale@lists.yoctoproject.org to automatically receive all group messages.