Skip to contentSkip to conversation

Custom SDK generation from YoctoSDK

DISCUSSION Praveen 2 participants 2 messages Jan 24, 2022

lore
Share & tools
lore

Praveen

author
#0 lore raw

We have a new requirement generating Custom SDK with filtered Header files/libraries based on some rules/approvals. It means not all files from YoctoSDK will be packaged in the CustomSDK.

What is the mechanism or approach where we can pull only those approved header files & libraries from YoctoSDK and package as Customized SDK tar?

Is there a way we can fetch those approved header files from YOCTO SDK and filter it?

We are thinking like creating subset versioned module recipe and specify those approved header files and package only those files. Is there any better mechanism on packaging or filtering the SDK based on some rules to filter some header files?

Like for example in YoctoSDK, we have 2 modules moduleA (A1.h, A2.h,A3.h and libA.so), moduleB (B1.h, B2.h, B3.h and libB.so) Lets say A3.h & B3.h are not approved in my Custom SDK, then in final Customer SDK we will only package moduleA (A1.h, A2.h and libA.so), moduleB (B1.h, B2.h, and libB.so)

We have a requirement to keep YoctoSDK without any filters, so that A3.h/B3.h can be used for internal purposes without any issue.

#1 lore raw

Please introduce yourself, who are those 'we'?

Also, this is not a bitbake questions and should go to the yocto mailing list.

Alex

Quoted 35 lines · Praveen

We have a new requirement generating Custom SDK with filtered Header files/libraries based on some rules/approvals. It means not all files from YoctoSDK will be packaged in the CustomSDK.

What is the mechanism or approach where we can pull only those approved header files & libraries from YoctoSDK and package as Customized SDK tar?

Is there a way we can fetch those approved header files from YOCTO SDK and filter it?

We are thinking like creating subset versioned module recipe and specify those approved header files and package only those files. Is there any better mechanism on packaging or filtering the SDK based on some rules to filter some header files?

Like for example in YoctoSDK, we have 2 modules moduleA (A1.h, A2.h,A3.h and libA.so), moduleB (B1.h, B2.h, B3.h and libB.so)
Lets say A3.h & B3.h are not approved in my Custom SDK, then in final Customer SDK we will only package
moduleA (A1.h, A2.h and libA.so), moduleB (B1.h, B2.h, and libB.so)

We have a requirement to keep YoctoSDK without any filters, so that A3.h/B3.h can be used for internal purposes without any issue.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#13274):
https://lists.openembedded.org/g/bitbake-devel/message/13274
Mute This Topic: https://lists.openembedded.org/mt/88652811/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/bitbake-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-