ccimx8m: fix building sdcard image
The sdcard image generation code expects a boot artifact named after machine's name. On the other hand, u-boot recipe creates symlinks with the build config's name. So couple machine with build config label to prevent a failure when building the SD card image. Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
parent
c2da31e0b1
commit
eb420a72f9
|
|
@ -12,9 +12,11 @@ BOOTLOADER_SEEK_USERDATA = "33"
|
|||
BOOTLOADER_SEEK_BOOT = "0"
|
||||
|
||||
# U-Boot configurations
|
||||
# Last one is the default (the one the symlinks point at)
|
||||
UBOOT_CONFIG ??= "ccimx8mm_dvk"
|
||||
UBOOT_CONFIG[ccimx8mm_dvk] = "ccimx8mm_dvk_defconfig,,u-boot-dtb.${UBOOT_SUFFIX}"
|
||||
#
|
||||
# At the moment config label should be "machine" because SDIMG_BOOTLOADER
|
||||
# expects a boot artifact named after machine to create the sdcard image.
|
||||
UBOOT_CONFIG ??= "ccimx8mm-dvk"
|
||||
UBOOT_CONFIG[ccimx8mm-dvk] = "ccimx8mm_dvk_defconfig"
|
||||
SPL_BINARY = "spl/u-boot-spl.bin"
|
||||
|
||||
# Set u-boot DTB
|
||||
|
|
|
|||
|
|
@ -12,9 +12,11 @@ BOOTLOADER_SEEK_USERDATA = "32"
|
|||
BOOTLOADER_SEEK_BOOT = "0"
|
||||
|
||||
# U-Boot configurations
|
||||
# Last one is the default (the one the symlinks point at)
|
||||
UBOOT_CONFIG ??= "ccimx8mn_dvk"
|
||||
UBOOT_CONFIG[ccimx8mn_dvk] = "ccimx8mn_dvk_defconfig,,u-boot-dtb.${UBOOT_SUFFIX}"
|
||||
#
|
||||
# At the moment config label should be "machine" because SDIMG_BOOTLOADER
|
||||
# expects a boot artifact named after machine to create the sdcard image.
|
||||
UBOOT_CONFIG ??= "ccimx8mn-dvk"
|
||||
UBOOT_CONFIG[ccimx8mn-dvk] = "ccimx8mn_dvk_defconfig"
|
||||
SPL_BINARY = "spl/u-boot-spl.bin"
|
||||
|
||||
# Set u-boot DTB
|
||||
|
|
|
|||
Loading…
Reference in New Issue