diff mbox series

u-boot: Add /boot in SYSROOT_DIRS

Message ID PR0P264MB230931E7523196BACD64E47C920C9@PR0P264MB2309.FRAP264.PROD.OUTLOOK.COM
State New
Headers show
Series u-boot: Add /boot in SYSROOT_DIRS | expand

Commit Message

Sebastien FABRE Nov. 23, 2022, 12:40 p.m. UTC
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>
---
 meta/recipes-bsp/u-boot/u-boot.inc | 1 +
 1 file changed, 1 insertion(+)

Comments

Alexandre Belloni Nov. 23, 2022, 2:50 p.m. UTC | #1
Hello,

This was not sent to the correct mailing list, you should send to openembedded-core@lists.openembedded.org

Please also set your git From:, else the mailing list is mangling your
address. this should work:

git config sendemail.from=sebastien.fabre@actia.fr

I've taken and fixed up the patch for now.

On 23/11/2022 12:40:53+0000, S�bastien Fabre via lists.yoctoproject.org wrote:
> 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>
> ---
>  meta/recipes-bsp/u-boot/u-boot.inc | 1 +
>  1 file changed, 1 insertion(+)
> 
> 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"
>  
> -- 
> 2.30.2

> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#58626): https://lists.yoctoproject.org/g/yocto/message/58626
> Mute This Topic: https://lists.yoctoproject.org/mt/95216711/3617179
> Group Owner: yocto+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [alexandre.belloni@bootlin.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
diff mbox series

Patch

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"