Hi NXP team,
When using externalsrc , how do I include the configs and patches from meta-alb-bsp?
I want to build u-boot and Linux from local sources, rather than using the upstream BSP44 sources.
I created my own Yocto metalayer and added bbappend files for u-boot and Linux.
linux-s32_6.6.bbappend
inherit externalsrc EXTERNALsrc="${TOPDIR}/../sources/project/linux" EXTERNALSRC_BUILD = "${B}" # Our custom defconfig FILESEXTRAPATHS:prepend := "${THISDIR}/linux-s32:"
DELTA_KERNEL_DEFCONFIG:append:s32g = "${@bb.utils.contains('DISTRO_FEATURES', 'custom', ' custom.cfg', '', d)}"
The configs or patchs in meta-alb-bsp will not include during building
Below are Yocto externalsrc explanation (link)
5.36 externalsrc The externalsrc class supports building software from source code that is external to the OpenEmbedded build system.
Building software from an external source tree means that the build system’s normal fetch, unpack, and patch process is not used.
Thanks
已解决! 转到解答。
Hi,GG0712
Thank you for contacting us.
We suggest that you refer to the S32Gx_LinuxBSP_44.0_User_Manual.pdf manual for development.
If you use externalsrc, you can try to incorporate the relevant patches from meta-alb-bsp into your local source code.
BR
Joey
Hi,GG0712
Thank you for contacting us.
We suggest that you refer to the S32Gx_LinuxBSP_44.0_User_Manual.pdf manual for development.
If you use externalsrc, you can try to incorporate the relevant patches from meta-alb-bsp into your local source code.
BR
Joey