[OE-core] [PATCH 6/8] cmake: add nativesdk and target versions

Otavio Salvador otavio at ossystems.com.br
Fri Jul 8 15:49:12 UTC 2011


On Fri, Jul 8, 2011 at 12:28, Richard Purdie
<richard.purdie at linuxfoundation.org> wrote:
> On Fri, 2011-07-08 at 13:47 +0000, Otavio Salvador wrote:
>> Adds a recipe that provides the nativesdk and target versions of
>> CMake.
>>
>> This recipe is based on code from OpenEmbeeded (rev
>> b1f2e1501c19540617a829b37415c0616101c7ad).
>>
>> Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
>> ---
> [...]
>
>> +# FIXME: Hack due gcc-crosssdk not being able to detect those automatically
>> +CXXFLAGS_virtclass-nativesdk += " \
>> +   -I${STAGING_DIR_HOST}${SDKPATHNATIVE}/usr/include/c++ \
>> +   -I${STAGING_DIR_HOST}${SDKPATHNATIVE}/usr/include/c++/${TARGET_SYS} \
>> +   "
>
> I get worried when I see things like this :(
>
> Has anyone attempted to work out why gcc-crosssdk can't locate c++
> include files?

Not sure why but this is the same things as done on qt4-tools-nativesdk.

-- 
Otavio Salvador                             O.S. Systems
E-mail: otavio at ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br




More information about the Openembedded-core mailing list