[oe] [PATCH] native.bbclass: add (re)definitions for TARGET_SYS and HOST_SYS

Khem Raj raj.khem at gmail.com
Fri Aug 20 15:34:36 UTC 2010


On Fri, Aug 20, 2010 at 7:39 AM, Phil Blundell <philb at gnu.org> wrote:
> On Fri, 2010-08-20 at 16:19 +0200, Frans Meulenbroeks wrote:
>> @@ -23,6 +23,7 @@ TARGET_VENDOR = "${BUILD_VENDOR}"
>>  TARGET_PREFIX = "${BUILD_PREFIX}"
>>  TARGET_CC_ARCH = "${BUILD_CC_ARCH}"
>>  TARGET_EXEEXT = "${BUILD_EXEEXT}"
>> +TARGET_SYS = "${BUILD_SYS}"

bitbake.conf already has

TARGET_SYS=${TARGET_ARCH}${TARGET_VENDOR}${@['-' +
bb.data.getVar('TARGET_OS', d, 1), ''][bb.data.getVar('TARGET_OS', d,
1) == ('' or 'custom')]}

so once you have TARGET_OS set correctly this should work well for native too.

>
> I don't think this is the right thing; native.bbclass already assigns
> TARGET_OS = "${BUILD_OS}".
>
> Do you really need to use a _local override for TARGET_OS?  If so then I
> guess you need to find a way to stop it applying for virtclass-native.
>
> p.
>
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>




More information about the Openembedded-devel mailing list