Skip to content

Commit

Permalink
u-boot-boundary: add support for imx-boot-container
Browse files Browse the repository at this point in the history
Also remove obsolete code needed for imx-boot.

Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
  • Loading branch information
chrisdimich committed Oct 18, 2022
1 parent f65292f commit 34290ee
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions recipes-bsp/u-boot/u-boot-boundary_2022.04.bb
Original file line number Diff line number Diff line change
@@ -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)"

0 comments on commit 34290ee

Please sign in to comment.