Re: yocto support


Alexandre Belloni
 

On 28/06/2022 17:21:22+0530, Senthamilarasi mathiyan wrote:
Dear All

Good Morning!

In my project, I am trying to create one custom image recipe in my yocto
build system.

The reason of creating custom image is -> having few specific
configurations for kernel and some specific driver Makefile changes to
enable coverage.

I cannot go with .bbappend file, because we are maintaining a
recipes-append folder in our meta-layer which is common for all the
production build image recipes.

My change is very specific it should not come as part of normal build
images because it will affect the production build.

My use case:

1. I have one .cfg file for kernel - which has kernel specific
configurations.

2. I have Makefile changes for driver file.

I should bring the above changes to kernel and driver Makefile during
build time without using .bbappend file.

I want to create a custom image recipe with the specific changes.

For example : custom_image.bb =( This recipes should have
core_image_minimal.bb + my specific changes)

When i build bitbake custom_image.bb, it should build with
core_image_minimal.bb + my specific changes .

Other images recipes also should not affect by this changes.

My humble request. Can anyone please support how to proceed?
You can't, a recipe can't affect any other recipe. When building
custom_image.bb, it is too late to introduce any kernel change.

Kindly share your suggestions.

*Regards*

*Senthamilarasi. M*

‚Äč



--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

Join yocto@lists.yoctoproject.org to automatically receive all group messages.