You could try using SCC like linux-yocto recipe does it here. https://git.yoctoproject.org/poky/plain/meta/recipes-kernel/linux/linux-yocto_6.1.bb
I have use this in the past to override bsp layer config and also add patches in my own derived bsp layer. -- Regards, Karthik Poduval On Sat, Aug 5, 2023, 9:05 AM Crane <[email protected]> wrote: > Finally found two ways to do this and worked in my case: > 1. use bitbake -c diffconfig to create a fragment config and then add the > fragment config to a .bbappend > 2. add an out-of-tree defconfig in .bb > The documentation says out-of-tree defconfig takes precedence. But in > my case KBUILD_DEFCONFIG is used and the out-of-tree defconfig is dropped. > No idea why. I have to use KBUILD_DEFCONFIG:remove to clear it. > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#60876): https://lists.yoctoproject.org/g/yocto/message/60876 Mute This Topic: https://lists.yoctoproject.org/mt/100557707/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
