meta-digi-arm: build all CC6 u-boot variants

https://jira.digi.com/browse/DEL-1569

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
Javier Viguera 2015-05-15 17:14:31 +02:00
parent 5cc2a7182d
commit 9048ab3477
2 changed files with 17 additions and 1 deletions

View File

@ -6,7 +6,12 @@
include conf/machine/include/ccimx6.inc
# U-Boot configurations
UBOOT_CONFIG ??= "ccimx6qsbc"
# Last one is the default (the one the symlinks point at)
UBOOT_CONFIG ??= "ccimx6dlsbc256MB ccimx6dlsbc512MB ccimx6dlsbc ccimx6qsbc512MB ccimx6qsbc"
UBOOT_CONFIG[ccimx6dlsbc256MB] = "ccimx6dlsbc256MB_config"
UBOOT_CONFIG[ccimx6dlsbc512MB] = "ccimx6dlsbc512MB_config"
UBOOT_CONFIG[ccimx6dlsbc] = "ccimx6dlsbc_config"
UBOOT_CONFIG[ccimx6qsbc512MB] = "ccimx6qsbc512MB_config"
UBOOT_CONFIG[ccimx6qsbc] = "ccimx6qsbc_config"
KERNEL_DEVICETREE = " \

View File

@ -12,6 +12,17 @@ SRC_URI += " \
S = "${WORKDIR}/git"
#
# In a u-boot multiconfig case, UBOOT_MACHINE has multiple values. Using
# parallel build leads to build failures:
#
# ln: failed to create symbolic link 'asm/arch/arch-mx6': File exists
# ln: failed to create symbolic link 'asm/arch': No such file or directory
#
# Without parallel make, UBOOT_MACHINE's last entry is used to configure uboot
#
PARALLEL_MAKE = ""
EXTRA_OEMAKE = 'HOSTCC="${CC}" HOSTSTRIP="true"'
inherit uboot-config