[yocto] TARGET_OS issues with linux-gnuspe
Kumar Gala
galak at kernel.crashing.org
Fri Jul 15 14:57:19 PDT 2011
On Jul 15, 2011, at 4:29 PM, Khem Raj wrote:
> On Fri, Jul 15, 2011 at 2:10 PM, Kumar Gala <galak at kernel.crashing.org> wrote:
>> In my attempts to get an e500v2/gnuspe toolchain working I was able to get core-image-minimal working. However when I try the 'meta-toolchain' I run into the following below. I believe this is because of TARGET_OS being 'linux-gnuspe'.
>>
>> Any ideas ?
>>
>> - k
>>
>> [kumar at right build-p2020]$ bitbake meta-toolchain
>>
>> OE Build Configuration:
>> BB_VERSION = "1.13.2"
>> TARGET_ARCH = "powerpc"
>> TARGET_OS = "linux-gnuspe"
>> MACHINE = "p2020-ds"
>> DISTRO = "poky"
>> DISTRO_VERSION = "1.0+snapshot-20110715"
>> TARGET_FPU = "spe"
>> meta
>> meta-yocto = "master:068839698fe192d8846c0ed4db65861448e8e524"
>>
>> NOTE: Resolving any missing task queue dependencies
>> ERROR: Nothing PROVIDES 'virtual/powerpc-poky-linux-libc-for-gcc'
>
> here is the problem. This should have been called
> virtual/powerpc-poky-linux-gnuspe-libc-for-gcc
>
> so TARGET_PREFIX is not being set correctly which means TARGET_SYS is
> not being set correctly
>
> and
>
> TARGET_SYS = "${TARGET_ARCH}${TARGET_VENDOR}${@['-' +
> bb.data.getVar('TARGET_OS', d, 1), ''][bb.data.getVar('TARGET_OS', d,
> 1) == ('' or 'custom')]}"
>
> so it should be ok if TARGET_OS is set
>
> can you pastebin output of
>
> bitbake -e meta-toolchain
>
> somewhere
Are you sure that is what you want? It looks the same
http://pastebin.com/FuNFCxLQ
- k
More information about the yocto
mailing list