Hi Derek,

or maybe I'm mistaken about the layer priority and it's the order within the bblayer.conf that does determine that (I tend to forget which one applies to what stage).

Maybe you could try to move your layer to the end of the bblayer.conf list (actually that was the case when I tested it yesterday) and see if that is working for you.

As pointed out in the other reply - only do this as a matter of last resort and if there is no other possibility left.

On 29.03.20 15:38, Derek Dresser wrote:
Konrad,
Thanks for the reply.  I understand this is temporary until the overridden file is updated.  I appreciate you pointing out using layer priority as an option.  Unfortunately, I can't seem to get this to work using priority.  I'm afraid I might be missing something.  I will try to illustrate with an example.

Here are my layers, note "meta-acadia" is priority 16.  This is where the override file is.  My understanding is a higher priority takes precedence.  I did try setting my layer priority to 4, but had the same results.

pokyuser@9cf512f73142:/yocto-src/poky$ bitbake-layers show-layers
NOTE: Starting bitbake server...
layer                 path                               priority
==========================================================================
meta /yocto-src/poky/meta                      5
meta-poky  /yocto-src/poky/meta-poky                 5
meta-yocto-bsp /yocto-src/poky/meta-yocto-bsp            5
meta-oe  /yocto-src/poky/meta-openembedded/meta-oe  6
meta-perl  /yocto-src/poky/meta-openembedded/meta-perl  6
meta-python  /yocto-src/poky/meta-openembedded/meta-python  7
meta-networking  /yocto-src/poky/meta-openembedded/meta-networking  5
meta-filesystems /yocto-src/poky/meta-openembedded/meta-filesystems  6
meta-security  /yocto-src/poky/meta-security             8
meta-xilinx-bsp  /yocto-src/poky/meta-xilinx/meta-xilinx-bsp  5
meta-xilinx-standalone /yocto-src/poky/meta-xilinx/meta-xilinx-standalone  5
meta-acadia  /yocto-src/poky/meta-acadia               16
meta-idexx-distro  /yocto-src/poky/meta-company-distro         6
meta-neural-network  /yocto-src/poky/meta-neural-network       7
meta-selinux /yocto-src/poky/meta-selinux              5
meta-cgl-common  /yocto-src/poky/meta-cgl/meta-cgl-common  7

and the override file diff (same path within my layer)

pokyuser@9cf512f73142:/yocto-src/poky$ diff meta/conf/machine/include/microblaze/feature-microblaze-versions.inc meta-acadia/conf/machine/include/microblaze/feature-microblaze-versions.inc
46a47
> TUNEVALID[v11.0] = "MicroBlaze version 11.0"
62a64
> TUNECONFLICTS[v11.0] = "v8.00 v8.10 v8.20 v8.30 v8.40 v8.50 v9.0 v9.1 v9.2 v9.3 v9.4 v9.5 v9.6 v10.0"

here's the error

    Toolchain tunings invalid:
Tuning 'microblaze' has the following errors:
Feature 'v11.0' is not defined.

However, if I copy my override file into the "meta" layer, I can build without errors.

pokyuser@9cf512f73142:/yocto-src/poky$ cp meta-acadia/conf/machine/include/microblaze/feature-microblaze-versions.inc meta/conf/machine/include/microblaze/feature-microblaze-versions.inc

Is there something else I'm missing to make the priorty override work?

Thank you.



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#48973): https://lists.yoctoproject.org/g/yocto/message/48973
Mute This Topic: https://lists.yoctoproject.org/mt/72619232/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to