mirror of
git://git.yoctoproject.org/meta-freescale.git
synced 2025-10-22 23:02:20 +02:00
imx-base.inc: avoid explicit imx-boot dependency
We shouldn't force `imx-boot` dependency for i.MX8 SoCs as many can use U-Boot mainline and those use `imx-boot-container` to generate the binary blob. We moved the backward-compatibility note, about 'imx-boot' to the 'imx-boot-container' class. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
parent
fd5438e6ed
commit
bed09c8dae
|
@ -20,6 +20,9 @@
|
|||
# by variable UBOOT_PROVIDES_BOOT_CONTAINER, which is defined in the
|
||||
# base machine include file (imx-base.inc), and is set to "1" when the
|
||||
# 'imx-boot-container' is present in MACHINEOVERRIDES.
|
||||
#
|
||||
# NOTE: A backwards-compatible symlink is added for 'flash.bin', named
|
||||
# 'imx-boot', during the deployment task.
|
||||
|
||||
# Define ATF binary file to be deployed to the U-Boot build folder
|
||||
ATF_MACHINE_NAME = "bl31-${ATF_PLATFORM}.bin"
|
||||
|
|
|
@ -503,22 +503,18 @@ WKS_FILE_DEPENDS ?= " \
|
|||
${@bb.utils.contains('MACHINE_FEATURES', 'optee', '${OPTEE_WKS_FILE_DEPENDS}', '', d)} \
|
||||
"
|
||||
|
||||
WKS_FILE_DEPENDS:append:mx8-nxp-bsp = " imx-boot"
|
||||
WKS_FILE_DEPENDS:append:mx8m-nxp-bsp = " imx-boot"
|
||||
|
||||
# We need to restrict the append so we don't add this for other i.MX SoC's.
|
||||
# Derivatives that are not yet adopted the usage of boot container provided
|
||||
# by U-Boot build are still targeted to use 'imx-boot' package provided by
|
||||
# NXP. Moving those derivatives to mainline BSP would require to define an
|
||||
# NXP.
|
||||
#
|
||||
# Moving those derivatives to mainline BSP would require to define an
|
||||
# 'imx-boot-container' override, and test if the U-Boot built 'flash.bin'
|
||||
# binary is used a replacement.
|
||||
# Note, that the results binary name of the boot container is set to 'imx-boot'
|
||||
#
|
||||
# NOTE: the results binary name of the boot container is set to 'imx-boot'
|
||||
# for both NXP and Mainline BSP.
|
||||
# For Mainline BSP: the 'flash.bin' boot container is renamed during the
|
||||
# deployment task extesion execution defined in imx-boot-container class.
|
||||
# For NXP BSP: rename is done in 'imx-boot' recipe at the execution of compile
|
||||
# task.
|
||||
WKS_FILE_DEPENDS:append:imx-mainline-bsp:aarch64 = " \
|
||||
WKS_FILE_DEPENDS:append:imx-generic-bsp:aarch64 = " \
|
||||
${@oe.utils.ifelse(d.getVar('UBOOT_PROVIDES_BOOT_CONTAINER') == '0', 'imx-boot', '')} \
|
||||
"
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user