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

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 : =( This recipes should have + my specific changes)

When i build bitbake, it should build with + 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, it is too late to introduce any kernel change.

Kindly share your suggestions.


*Senthamilarasi. M*


Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering

Join to automatically receive all group messages.