I added the functionality for building multiple u-boot binaries to classic openembedded, but this has not been implemented in oe-core. I find that rather useful. Anyone disagreeing?
The core of this is: do_compile () { if ! [ "x${UBOOT_MACHINES}" == "x" ] ; then for board in ${UBOOT_MACHINES} ; do if ! [ `grep ${board}_config Makefile | wc -c` == 0 ] ; then mkdir -p binaries/${board} oe_runmake O=binaries/${board} distclean oe_runmake O=binaries/${board} ${board}_config oe_runmake O=binaries/${board} all fi done else oe_runmake ${UBOOT_MACHINE} oe_runmake all fi } Note that I removed the _config part from UBOOT_MACHINES. At the moment, the binary after youv'e done "make beagleboard_config; make" will be called: u-boot-beagleboard_config-${PV}-${PR}.bin I think "u-boot-beagleboard-${PV}-${PR}.bin" is nicer. There aren't that many boards in oe-core at the moment. Isn't this a good time to get rid of UBOOT_MACHINE altogher and/or redefine it without the "_config" P.S: I am working on another project right now, so I don't know when I have time to test this out on oe-core, so anyone else interested, feel free to implement it -- Best Regards Ulf Samuelsson _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel