[oe] [PATCH] classes/base.bbclass: add INCOMPATIBLE_MACHINE

Phil Blundell philb at gnu.org
Thu Jul 8 08:23:18 UTC 2010


On Thu, 2010-07-08 at 08:49 +0200, Frans Meulenbroeks wrote: 
> The only concern I have is the name COMPATIBLE_TARGET
> for me TARGET is the board so COMPATIBLE_TARGET for me more or less
> equates to COMPATIBLE_MACHINE.
> What about COMPATIBLE_ARCH or COMPATIBLE_ARCHITECTURE?

I think the variable that you want to match against (in the specific
case of cross.bbclass) is ${TARGET_SYS}.  Having the matching variable
be named COMPATIBLE_ARCH would imply that it's going to match
${HOST_ARCH}, which obviously isn't what you want.

I would have thought that confusion with ${MACHINE} should be minimal
since that nomenclature is already quite well established in OE.  But
you could name it COMPATIBLE_TARGET_SYS if you wanted to make the name
completely explicit.

p.






More information about the Openembedded-devel mailing list