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