Skip to content

Commit

Permalink
u-boot_%.bbappend: fix conflicting boot.scr if UBOOT_ENV is set
Browse files Browse the repository at this point in the history
When embedding meta-raspberry in a distro that uses UBOOT_ENV
to ship their own custom boot.scr file, the current
u-boot-default-script will make the build fail to build due to
conflicts in $DEPLOY_DIR_IMAGE

This patch fixes this by not adding u-boot-default-script to the
u-boot DEPENDS if UBOOT_ENV is set.

Signed-off-by: Alexander Sack <[email protected]>
  • Loading branch information
asac committed Apr 29, 2024
1 parent 1879cb8 commit 11b1f99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes-bsp/u-boot/u-boot_%.bbappend
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ SRC_URI:append:rpi = " \

SRC_URI:append:rpi = " file://0001-rpi-always-set-fdt_addr-with-firmware-provided-FDT-address.patch"

DEPENDS:append:rpi = " u-boot-default-script"
DEPENDS:append:rpi = " ${@oe.utils.conditional('UBOOT_ENV', '', 'u-boot-default-script', '', d)}"

do_install:append:rpi () {
install -d ${D}${sysconfdir}
Expand Down

0 comments on commit 11b1f99

Please sign in to comment.