u-boot-boundary: add support for imx-boot-container

Also remove obsolete code needed for imx-boot.

Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
This commit is contained in:
Chris Dimich 2022-10-17 11:49:42 -07:00
parent f65292fe4c
commit 34290eefbb

View File

@ -1,18 +1,12 @@
require recipes-bsp/u-boot/u-boot.inc
require recipes-bsp/u-boot/u-boot-boundary-common_${PV}.inc
DEPENDS += "bison-native"
inherit deploy ${@oe.utils.ifelse(d.getVar('UBOOT_PROVIDES_BOOT_CONTAINER') == '1', 'imx-boot-container', '')}
DEPENDS += "bison-native dtc-native python3-setuptools-native"
SRC_URI += "file://fw_env.config"
PROVIDES += "u-boot"
BOOT_TOOLS = "imx-boot-tools"
do_deploy:append:mx8-nxp-bsp () {
install -d ${DEPLOYDIR}/${BOOT_TOOLS}
install -m 0777 ${B}/${config}/arch/arm/dts/${UBOOT_DTB_NAME} ${DEPLOYDIR}/${BOOT_TOOLS}
install -m 0777 ${B}/${config}/u-boot-nodtb.bin ${DEPLOYDIR}/${BOOT_TOOLS}/u-boot-nodtb.bin-${MACHINE}-${UBOOT_CONFIG}
}
COMPATIBLE_MACHINE = "(nitrogen6x-lite|nitrogen6x|nitrogen6sx|nitrogen7|nitrogen8m|nitrogen8mm|nitrogen8mn|nitrogen8mp)"