[oe] [PATCH] base.bbclass: introduce COMPATIBLE_TARGET_SYS

Frans Meulenbroeks fransmeulenbroeks at gmail.com
Sun Jul 11 06:55:12 UTC 2010


2010/7/11 Phil Blundell <philb at gnu.org>:
> On Sat, 2010-07-10 at 18:19 +0200, Frans Meulenbroeks wrote:
>> This patch introduces COMPATIBLE_TARGET_SYS
>> It is 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 architecture.
>>
>> Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks at gmail.com>
>
> I think this should go in cross.bbclass, not base.bbclass.  Other than
> that it looks fine.
>

I have no real preference for location. The only reason for putting it
in base.bbclass is because that file also contains the tests for
COMPATIBLE_MACHINE and COMPATIBLE_HOST.
(as my pythonese is not that good I just copied/pasted/edited/tested there)
Please advice

Wrt the clarification of khem in the other thread:
What about adding a COMPATIBLE_TARGET_ARCH test  too ? (actually I
think that that is the one I would like to use at one place (although
ofc it is quite possible to use COMPATIBLE_TARGET_SYS).
(e.g. gblic has arch specific sysdeps, I would like to specify if a
version of glibc does not specify my arch).

Frans




More information about the Openembedded-devel mailing list