Instead of default compile stage, which compiles for all built-in boards,
compile those boards which are needed (based on machine configuration).
Since BOARDS is a list either, do not run make for each target board but
handle all of them in one run.
Signed-off-by: Jens Rehsack <sno@netbsd.org>
BOARD_TARGETS_ls1088ardb-pb="ls1088ardb"
BOARD_TARGETS_lx2160ardb = "${M} ${M}_rev2"
+do_compile () {
+ oe_runmake BOARDS="${BOARD_TARGETS}" DESTDIR=${D}/boot/rcw/
+}
+
do_install () {
- for BT in ${BOARD_TARGETS}
- do
- oe_runmake BOARDS=${BT} DESTDIR=${D}/boot/rcw/ install
- done
+ oe_runmake BOARDS="${BOARD_TARGETS}" DESTDIR=${D}/boot/rcw/ install
}
do_deploy () {