How to use externalsrc in S32G BSP44

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to use externalsrc in S32G BSP44

ソリューションへジャンプ
296件の閲覧回数
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 件の賞賛
返信
1 解決策
271件の閲覧回数
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 件の賞賛
返信
1 返信
272件の閲覧回数
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 件の賞賛
返信