How to use externalsrc in S32G BSP44

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to use externalsrc in S32G BSP44

Jump to solution
315 Views
GG0712
Contributor III

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

0 Kudos
Reply
1 Solution
290 Views
Joey_z
NXP Employee
NXP Employee

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

View solution in original post

0 Kudos
Reply
1 Reply
291 Views
Joey_z
NXP Employee
NXP Employee

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

0 Kudos
Reply