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:58 +0000
commitc4790644f980e68b1577df4788053efc0c317b14 (patch)
treea61e4945953d1b6dcb87649b318fe81d7cee9f0d
parent43ef392dc2e85c2f298fdb1ee970708c4c2e79f9 (diff)
downloadpoky-c4790644f980e68b1577df4788053efc0c317b14.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. (From OE-Core rev: 5ed129c4e793c76e2ce9c762cc67c4c2232df447) Signed-off-by: Fabre Sébastien <sebastien.fabre@actia.fr> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 = " \
206FILES:${PN}-extlinux = "${UBOOT_EXTLINUX_INSTALL_DIR}/${UBOOT_EXTLINUX_CONF_NAME}" 206FILES:${PN}-extlinux = "${UBOOT_EXTLINUX_INSTALL_DIR}/${UBOOT_EXTLINUX_CONF_NAME}"
207RDEPENDS:${PN} += "${@bb.utils.contains('UBOOT_EXTLINUX', '1', '${PN}-extlinux', '', d)}" 207RDEPENDS:${PN} += "${@bb.utils.contains('UBOOT_EXTLINUX', '1', '${PN}-extlinux', '', d)}"
208 208
209SYSROOT_DIRS += "/boot"
209FILES:${PN} = "/boot ${datadir}" 210FILES:${PN} = "/boot ${datadir}"
210RDEPENDS:${PN} += "${PN}-env" 211RDEPENDS:${PN} += "${PN}-env"
211 212