Skip to contentSkip to conversation

General bbappend for virtual/kernel recipe? #bitbake #yocto

DISCUSSION Livius 3 participants 4 messages May 3, 2023 – May 4, 2023

lore
Share & tools
lore

Livius

author
#0 lore raw

Hi,

Is it possible to make a .bbappend file/method for virtual/kernel of general linux-kernel recipe? My goal is to make some same append script for several BSP linux kernel recipe. For example i like to make an append for linux-xlnx.bb and linux-fslc.bb and so on for all linux-*.bb recipes with some further bash scripts/taskses in a general single bbappend. Is it possible somehow in BitBake/Yocto?

#1 lore raw
Quoted 4 lines · Livius

Hi,

Is it possible to make a .bbappend file/method for virtual/kernel of general linux-kernel recipe? My goal is to make some same append script for several BSP linux kernel recipe. For example i like to make an append for linux-xlnx.bb and linux-fslc.bb and so on for all linux-*.bb recipes with some further bash scripts/taskses in a general single bbappend. Is it possible somehow in BitBake/Yocto?

This would require bappends for all kernel recipes you are wanting to append.

Quoted 13 lines

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
You automatically follow any topics you start or reply to. View/Reply Online (#59849): https://lists.yoctoproject.org/g/yocto/message/59849
Mute This Topic: https://lists.yoctoproject.org/mt/98657112/1997914
Mute #bitbake:https://lists.yoctoproject.org/g/yocto/mutehashtag/bitbake Mute #yocto:https://lists.yoctoproject.org/g/yocto/mutehashtag/yocto Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#2 lore raw

Common functionality can be kept in a bbclass, so that the appends must simply make your recipe inherit the class.

Em qua., 3 de mai. de 2023 às 21:04, Khem Raj <[email protected]> escreveu:

Quoted 32 lines · Livius
Quoted 4 lines

Hi,

Is it possible to make a .bbappend file/method for virtual/kernel of

general linux-kernel recipe? My goal is to make some same append script for several BSP linux kernel recipe. For example i like to make an append for linux-xlnx.bb and linux-fslc.bb and so on for all linux-*.bb recipes with some further bash scripts/taskses in a general single bbappend. Is it possible somehow in BitBake/Yocto?

This would require bappends for all kernel recipes you are wanting to append.

Quoted 4 lines

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#59861):
https://lists.yoctoproject.org/g/yocto/message/59861
Mute This Topic: https://lists.yoctoproject.org/mt/98657112/6464681
Mute #bitbake:https://lists.yoctoproject.org/g/yocto/mutehashtag/bitbake Mute #yocto:https://lists.yoctoproject.org/g/yocto/mutehashtag/yocto Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

author
#3 lore raw
In reply to Khem Raj
Quoted 5 lines · Khem Raj
Quoted 3 lines · Livius

Hi,

Quoted 14 lines
Quoted 1 line

Is it possible to make a .bbappend file/method for virtual/kernel of general

linux-kernel recipe? My goal is to make some same append script for several BSP linux kernel recipe. For example i like to make an append for linux-xlnx.bb and linux-fslc.bb and so on for all linux-*.bb recipes with some further bash scripts/taskses in a general single bbappend. Is it possible somehow in BitBake/Yocto?

This would require bappends for all kernel recipes you are wanting to append.

Quoted 4 lines

Yes, exactly, i would like to make a bappends for all kernel recipes. Is it possible? Is it possible to somehow make an append for bbclass of the kernel recipes?