On 08/03/2012 03:46 PM, Martin Jansa wrote:
On Fri, Aug 03, 2012 at 03:38:42PM +0300, Radu Moisan wrote:
Building u-boot requires UBOOT_MACHINE. In the u-boot README file
building u-boot is achieved with "make NAME_config" and then
"make all". I assumend UBOOT_MACHINE to be the "NAME" part and thus,
the "_config" addition in u-boot.inc
NAME is the machine name, and choices area vailable in boards.conf,
I used for testing coreboot-x86.
 From this description I don't see why _config is now appended when
probably all BSPs had it included in UBOOT_MACHINE variable before

meta-nokia/recipes-bsp/u-boot/u-boot_git.bb:UBOOT_MACHINE_nokia900 = 
"nokia_rx51_config"
meta-openmoko/conf/machine/om-gta04.conf:UBOOT_MACHINE = "omap3_gta04_config"
meta-openmoko/recipes-bsp/u-boot/u-boot_git.bb:UBOOT_MACHINE_om-gta04 = 
"omap3_gta04_config"
conf/machine/am180x-evm.conf:UBOOT_MACHINE = "da850evm_config"
conf/machine/am335x-evm.conf:UBOOT_MACHINE = "am335x_evm_config"
conf/machine/am3517-evm.conf:UBOOT_MACHINE = "am3517_evm_config"
conf/machine/am37x-evm.conf:UBOOT_MACHINE = "omap3_evm_config"
conf/machine/beagleboard.conf:UBOOT_MACHINE = "omap3_beagle_config"
conf/machine/beaglebone.conf:UBOOT_MACHINE = "am335x_evm_config"
conf/machine/hawkboard.conf:UBOOT_MACHINE = "da850_omapl138_evm_config"
conf/machine/include/davinci.inc:UBOOT_MACHINE = "davinci_dvevm_config"
conf/machine/include/ti814x.inc:UBOOT_MACHINE = "ti8148_evm_config_nand"
conf/machine/include/ti816x.inc:UBOOT_MACHINE = "ti8168_evm_config"
conf/machine/omap3-touchbook.conf:UBOOT_MACHINE = "omap3_beagle_config"
conf/machine/omap3evm.conf:UBOOT_MACHINE = "omap3_evm_config"
conf/machine/pandaboard.conf:UBOOT_MACHINE = "omap4_panda_config"

And any sensible is to append it to *MACHINE* variable as default:
recipes-bsp/u-boot/u-boot.inc:UBOOT_MACHINE ?= "${MACHINE}_config"

Cheers,

Ok, missed that, I'll fix it.

radu

_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to