Under "3.3.2. inherit Directive" in the BitBake manual we should add some information at the end mentioning that you can do conditional inherits by using a variable expression after the inherit i.e. inherit ${VARNAME} If VARNAME is going to be set it needs to be set before the inherit statement is parsed (possibly achieving conditionality using overrides or through an anonymous python function). If the variable evaluates to an empty string the statement will not trigger a syntax error i.e. it becomes a no-op. Of course an in-line Python expression is also permissible e.g. inherit ${@'classname' if condition else ''} inherit ${@functionname(params)} This brings up a tangential point - we don't currently explain in-line Python; we do mention it in passing but we ought to have a small section on it in the BitBake manual.
Worked with Paul to interactively fix this up. Here is the link: http://www.yoctoproject.org/docs/2.1/bitbake-user-manual/bitbake-user-manual.html#inherit-directive. I am marking it RESOLVED and setting the doc flag to "done". Scott