[yocto] Files and overrides

Gary Thomas gary at mlbassoc.com
Thu Apr 25 06:08:19 PDT 2013


I'm trying to supply a target specific file for which there are
already many alternatives.  For whatever reason, the wrong file
is always being chosen.

Here are the details: I have a local layer (meta-imx6) which is used
to override/overlay a BSP layer (meta-fsl-arm) which in turn is
supplying some tuned files.  In particular, the file 'xorg.conf'
which appears in all of these places:
   ./meta-imx6/recipes-graphics/xorg-xserver/xserver-xf86-config/sabrelite/xorg.conf
   ./meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemuarm/xorg.conf
   ./meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemuppc/xorg.conf
   ./meta/recipes-graphics/xorg-xserver/xserver-xf86-config/xorg.conf
   ./meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemux86-64/xorg.conf
   ./meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemush4/xorg.conf
   ./meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemumips/xorg.conf
   ./meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemumips64/xorg.conf
   ./meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemux86/xorg.conf
   ./meta-fsl-arm/recipes-graphics/xorg-xserver/xserver-xf86-config/mx6/xorg.conf
   ./meta-fsl-arm/recipes-graphics/xorg-xserver/xserver-xf86-config/mx5/xorg.conf
   ./meta-fsl-arm/recipes-graphics/xorg-xserver/xserver-xf86-config/mxs/xorg.conf

My meta-imx6 layer sets up the overrides to be:
   FILESOVERRIDES="imx6qsabrelite:arm:armv7a:mx6:mx6q:sabrelite:amltd"
   OVERRIDES="imx6qsabrelite:arm:armv7a:mx6:mx6q:sabrelite:amltd"
where "amltd" is the name of my distribution and "sabrelite" is my machine name.

The file that is actually chosen is .../mx6/xorg.conf, but I want it to
be .../sabrelite/xorg.conf  I have other files in the .../xserver-xf86-config/sabrelite
directory being picked up (that's part of what this is about, adding such configury)
but not xorg.conf

How can I fix this?  I tried moving/adding sabrelite to the front of the
*OVERRIDES variables with no change.

Thanks

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



More information about the yocto mailing list