On Sun, 2010-07-11 at 09:48 +0200, Frans Meulenbroeks wrote: > This patch introduces COMPATIBLE_TARGET_SYS and COMPATIBLE_TARGET_ARCH > They are similar to COMPATIBLE_MACHINE but where COMPATIBLE_MACHINE > is used to specify that a certain recipe is for a certain machine > COMPATIBLE_TARGET_SYS can be used to specify that a certain recipe > is for a certain target system (e.g. mips-oe-linux), > COMPATIBLE_TARGET_ARCH can be used that a certain recipe is for a certain > architecture (e.g. mips)
Why do you need both? Surely COMPATIBLE_TARGET_ARCH can be implemented by testing against COMPATIBLE_TARGET_SYS with a suitable wildcard. > as restrictions may apply for both native and cross recipes, the patch > is in base.bbclass, not cross.bbclass. TARGET_SYS only has real meaning for cross recipes. For standard host recipes, the variable to check would be HOST_SYS (via COMPATIBLE_HOST). I'm not sure that putting cross-specific stuff in base.bbclass is a wholesome plan. p. _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
