perhaps you should create a new branch for this layer which will be compatible with gatesgarth, you can seed it with dunfell branch and then make needed changes
On Tue, Feb 16, 2021 at 3:02 PM Jonas Vautherin <jonas.vauthe...@gmail.com> wrote: > > Good evening, > > I am using Yocto Gatesgarth, and I was just updating a layer that was written > for Dunfell. In the `conf/layer.conf`, I can simply add "gatesgarth" to > `LAYERSERIES_COMPAT_pocketbeagle`, like so: > > ``` > LAYERSERIES_COMPAT_pocketbeagle = "dunfell gatesgarth" > ``` > > However, this does not seem to work for a `.bbappend`. Let me use this > particular layer as an example: it is a BSP that defines > `linux-yocto_4.19.bbappend` for Dunfell. In my case, I want to define > `linux-yocto_5.4.bbappend` for Gatesgarth. When building with Dunfell, I > would like it to use the former, and when building with Gatesgarth, I would > like it to use the latter. > > However, if I keep both `linux-yocto_4.19.bbappend` and > `linux-yocto_5.4.bbappend` and try to build with Gatesgarth, it fails with: > > ``` > ERROR: No recipes in default available for: > /path/to/recipes-kernel/linux/linux-yocto_4.19.bbappend > ``` > > Which makes sense: Gatesgarth does not provide `linux-yocto_4.19`. > > Is there a way to keep both `*.bbappend` and have Yocto ignore the ones that > do not correspond to its version? Or would that be bad practice anyway? > > Best Regards, > Jonas > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#52356): https://lists.yoctoproject.org/g/yocto/message/52356 Mute This Topic: https://lists.yoctoproject.org/mt/80691824/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-