summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabre Sébastien <sebastien.fabre@actia.fr>2022-11-23 12:40:53 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-11-29 10:29:54 +0000
commit5ed129c4e793c76e2ce9c762cc67c4c2232df447 (patch)
tree88b84d1bf2c52e83c804f5a356c3219dfc0efeae
parentc55dc3a8f13050123bc63479c5a3159601c240a0 (diff)
downloadopenembedded-core-contrib-5ed129c4e793c76e2ce9c762cc67c4c2232df447.tar.gz
u-boot: Add /boot in SYSROOT_DIRS
To be able to use /boot files, like UBOOT_ENV_BINARY, in other recipes, like kernel-fitimage.bbclass. Signed-off-by: Fabre Sébastien <sebastien.fabre@actia.fr> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
-rw-r--r--meta/recipes-bsp/u-boot/u-boot.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-bsp/u-boot/u-boot.inc b/meta/recipes-bsp/u-boot/u-boot.inc
index 15e949b8b4..4636dd733b 100644
--- a/meta/recipes-bsp/u-boot/u-boot.inc
+++ b/meta/recipes-bsp/u-boot/u-boot.inc
@@ -206,6 +206,7 @@ FILES:${PN}-env = " \
FILES:${PN}-extlinux = "${UBOOT_EXTLINUX_INSTALL_DIR}/${UBOOT_EXTLINUX_CONF_NAME}"
RDEPENDS:${PN} += "${@bb.utils.contains('UBOOT_EXTLINUX', '1', '${PN}-extlinux', '', d)}"
+SYSROOT_DIRS += "/boot"
FILES:${PN} = "/boot ${datadir}"
RDEPENDS:${PN} += "${PN}-env"