diff options
-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 |