On Thu, Dec 03, 2020 at 03:45:41AM +0000, Andrew Loader wrote:
In the bitbake user manual it has an example of how to set the variable value using the OVERRIDE variableOVERRIDES is set in configuration files usually (always?). It can be
either in a distro if you use DISTROOVERRIDES, in a machine if you use
MACHINEOVERRIDES, and you might be able to add manually to it from
local.conf or other ways but I think you should go with DISTROOVERRIDES
Then, the OVERRIDES (which contains MACHINEOVERRIDES:DISTROOVERRIDES
among other things) will be used in all recipes you can find and it
should just work.
You can use bitbake -e my-recipe | grep -e "^OVERRIDES=" to check the
content of the OVERRIDES variable. Note that righmost "OVERRIDE" is the
one which takes precedence over all others.