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

Richard Purdie richard.purdie at linuxfoundation.org
Fri Jul 8 15:28:59 UTC 2011


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?

Cheers,

Richard





More information about the Openembedded-core mailing list