diff options
-rw-r--r-- | recipes-bsp/rcw/rcw_git.bb | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/recipes-bsp/rcw/rcw_git.bb b/recipes-bsp/rcw/rcw_git.bb index fed9f864..63d8a195 100644 --- a/recipes-bsp/rcw/rcw_git.bb +++ b/recipes-bsp/rcw/rcw_git.bb | |||
@@ -16,15 +16,15 @@ export PYTHON = "${USRBINPATH}/python3" | |||
16 | 16 | ||
17 | M="${@d.getVar('MACHINE').replace('-64b','').replace('-32b','').replace('-${SITEINFO_ENDIANNESS}','')}" | 17 | M="${@d.getVar('MACHINE').replace('-64b','').replace('-32b','').replace('-${SITEINFO_ENDIANNESS}','')}" |
18 | 18 | ||
19 | BOARD_TARGETS="${M}" | ||
20 | BOARD_TARGETS_ls2088ardb="${M} ${M}_rev1.1" | ||
21 | BOARD_TARGETS_ls1088ardb-pb="ls1088ardb" | ||
22 | |||
19 | do_install () { | 23 | do_install () { |
20 | if [ ${M} = ls2088ardb ]; then | 24 | for BT in ${BOARD_TARGETS} |
21 | oe_runmake BOARDS=${M} DESTDIR=${D}/boot/rcw/ install | 25 | do |
22 | oe_runmake BOARDS=${M}_rev1.1 DESTDIR=${D}/boot/rcw/ install | 26 | oe_runmake BOARDS=${BT} DESTDIR=${D}/boot/rcw/ install |
23 | elif [ ${M} = ls1088ardb-pb ]; then | 27 | done |
24 | oe_runmake BOARDS=ls1088ardb DESTDIR=${D}/boot/rcw/ install | ||
25 | else | ||
26 | oe_runmake BOARDS=${M} DESTDIR=${D}/boot/rcw/ install | ||
27 | fi | ||
28 | } | 28 | } |
29 | 29 | ||
30 | do_deploy () { | 30 | do_deploy () { |