diff options
author | Chunrong Guo <chunrong.guo@nxp.com> | 2018-05-28 13:54:51 +0800 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2018-06-06 10:56:47 -0300 |
commit | fafbcaa2ea766016bc17ad73c94476b3977ce883 (patch) | |
tree | 67b33a4bba7adda25539fc17d38095d49b241061 /recipes-bsp/rcw/rcw_git.bb | |
parent | 6fbb2c095d2d357913a226a6465fd52b4f6cebe6 (diff) | |
download | meta-freescale-fafbcaa2ea766016bc17ad73c94476b3977ce883.tar.gz |
rcw: need install rev1.1 folder for ls2088ardb
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-bsp/rcw/rcw_git.bb')
-rw-r--r-- | recipes-bsp/rcw/rcw_git.bb | 7 |
1 files 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" | |||
17 | M="${@d.getVar('MACHINE', True).replace('-64b','').replace('-32b','').replace('-${SITEINFO_ENDIANNESS}','')}" | 17 | M="${@d.getVar('MACHINE', True).replace('-64b','').replace('-32b','').replace('-${SITEINFO_ENDIANNESS}','')}" |
18 | 18 | ||
19 | do_install () { | 19 | do_install () { |
20 | if [ -f ${S}/${M}/Makefile ]; then | 20 | if [ ${M} = ls2088ardb ]; then |
21 | oe_runmake BOARDS=${M} DESTDIR=${D}/boot/rcw/ install | 21 | oe_runmake BOARDS=${M} DESTDIR=${D}/boot/rcw/ install |
22 | oe_runmake BOARDS=${M}_rev1.1 DESTDIR=${D}/boot/rcw/ install | ||
22 | else | 23 | else |
23 | install -d ${D}/boot/rcw | 24 | oe_runmake BOARDS=${M} DESTDIR=${D}/boot/rcw/ install |
24 | cp -a ${S}/${M} ${D}/boot/rcw/ | ||
25 | chown -R root:root ${D} | ||
26 | fi | 25 | fi |
27 | for f in `find ${D}/boot/rcw/ -name "*qspiboot*"`;do | 26 | for f in `find ${D}/boot/rcw/ -name "*qspiboot*"`;do |
28 | if echo $f |grep -q "qspiboot_sben"; then | 27 | if echo $f |grep -q "qspiboot_sben"; then |