<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 03/10/2016 04:08 PM, Khem Raj wrote:<br>
</div>
<blockquote
cite="mid:CAMKF1sqhFDRPHEFJFPoqqKpNbhKA9Sw9CpxA1+OOLceqEVPHrw@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<p dir="ltr">We should submit these kind of changes upstream first
and get an opinion before forking like this</p>
</blockquote>
<br>
OK, I will have a try.<br>
<br>
<blockquote
cite="mid:CAMKF1sqhFDRPHEFJFPoqqKpNbhKA9Sw9CpxA1+OOLceqEVPHrw@mail.gmail.com"
type="cite">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
+Although there is CMAKE_USE_RELATIVE_PATHS, but upstream<br>
+explicitly did not support relative path.<br>
+In git://<a moz-do-not-send="true"
href="http://cmake.org/cmake.git" rel="noreferrer"
target="_blank">cmake.org/cmake.git</a><br>
+...<br>
+commit 1335992c8f4e8b96f1a21d5dcc7d65a9fbd84c11<br>
+Author: Stephen Kelly <<a moz-do-not-send="true"
href="mailto:steveire@gmail.com">steveire@gmail.com</a>><br>
+Date: Mon Jun 1 19:56:46 2015 +0200<br>
+<br>
+ Remove CMAKE_USE_RELATIVE_PATHS variable.<br>
+...<br>
+The reason is in <a moz-do-not-send="true"
href="https://cmake.org/Wiki/CMake_FAQ" rel="noreferrer"
target="_blank">https://cmake.org/Wiki/CMake_FAQ</a><br>
+(Why does CMake use full paths, or can I copy my build tree?)<br>
</blockquote>
</div>
</blockquote>
<br>
Currently, The upstream explicitly do not support it.<br>
<br>
//Hongxu<br>
<br>
<blockquote
cite="mid:CAMKF1sqhFDRPHEFJFPoqqKpNbhKA9Sw9CpxA1+OOLceqEVPHrw@mail.gmail.com"
type="cite">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
+<br>
+But oe-core need the source file path relative while
compiling<br>
+to avoid build path issue. The fix partly refer the above
commit,<br>
+but in order to minimize the influence, it only tweak gcc
compiling<br>
+rule in generated Makefile (With "Building ** object"
message).<br>
</blockquote>
</div>
</blockquote>
<br>
<br>
</body>
</html>