[OE-core] [PATCH 18/18] cmake-native:convert source file to relative path
Hongxu Jia
hongxu.jia at windriver.com
Thu Mar 10 08:41:25 UTC 2016
On 03/10/2016 04:08 PM, Khem Raj wrote:
>
> We should submit these kind of changes upstream first and get an
> opinion before forking like this
>
OK, I will have a try.
>
> +Although there is CMAKE_USE_RELATIVE_PATHS, but upstream
> +explicitly did not support relative path.
> +In git://cmake.org/cmake.git <http://cmake.org/cmake.git>
> +...
> +commit 1335992c8f4e8b96f1a21d5dcc7d65a9fbd84c11
> +Author: Stephen Kelly <steveire at gmail.com
> <mailto:steveire at gmail.com>>
> +Date: Mon Jun 1 19:56:46 2015 +0200
> +
> + Remove CMAKE_USE_RELATIVE_PATHS variable.
> +...
> +The reason is in https://cmake.org/Wiki/CMake_FAQ
> +(Why does CMake use full paths, or can I copy my build tree?)
>
Currently, The upstream explicitly do not support it.
//Hongxu
> +
> +But oe-core need the source file path relative while compiling
> +to avoid build path issue. The fix partly refer the above commit,
> +but in order to minimize the influence, it only tweak gcc compiling
> +rule in generated Makefile (With "Building ** object" message).
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160310/6187e825/attachment-0002.html>
More information about the Openembedded-core
mailing list