<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 2019/1/17 下午11:19, Christopher
Larson wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CABcZANkxhSTj+bha5Sn4zqgjFKCUZUq8XTT0KDj7hndK3Da-Pg@mail.gmail.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr">The commit message doesn’t match what you’re
actually doing. "Specifying -fdebug-prefix-map is equivalent
to specifying all the individual -f*-prefix-map options which
means including -fmacro-prefix-map and -fdebug-prefix-map
currently” I assume you mean "Specifying -ffile-prefix-map”
there.</div>
</div>
</blockquote>
<p><br>
</p>
<p>Sorry typo here.</p>
<p>Regards,<br>
Kai<br>
</p>
<p><br>
</p>
<blockquote type="cite"
cite="mid:CABcZANkxhSTj+bha5Sn4zqgjFKCUZUq8XTT0KDj7hndK3Da-Pg@mail.gmail.com"><br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Thu, Jan 17, 2019 at 12:13
AM <<a href="mailto:kai.kang@windriver.com"
moz-do-not-send="true">kai.kang@windriver.com</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">From:
Kai Kang <<a href="mailto:kai.kang@windriver.com"
target="_blank" moz-do-not-send="true">kai.kang@windriver.com</a>><br>
<br>
Reset default value of DEBUG_PREFIX_MAP with
'-fdebug-prefix-map'.<br>
Specifying -fdebug-prefix-map is equivalent to specifying all
the<br>
individual -f*-prefix-map options which means including<br>
-fmacro-prefix-map and -fdebug-prefix-map currently. Option<br>
-fmacro-prefix-map helps to avoid buildpaths qa warnings which
caused<br>
by __FILE__ macro expansion for packages such as llvm and
librepo.<br>
<br>
Signed-off-by: Kai Kang <<a
href="mailto:kai.kang@windriver.com" target="_blank"
moz-do-not-send="true">kai.kang@windriver.com</a>><br>
---<br>
meta/conf/bitbake.conf | 6 +++---<br>
1 file changed, 3 insertions(+), 3 deletions(-)<br>
<br>
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf<br>
index 0bdcd04d74..d20460e845 100644<br>
--- a/meta/conf/bitbake.conf<br>
+++ b/meta/conf/bitbake.conf<br>
@@ -599,9 +599,9 @@ EXTRA_OEMAKE_prepend_task-install =
"${PARALLEL_MAKEINST} "<br>
# Optimization flags.<br>
##################################################################<br>
# Beware: applied last to first<br>
-DEBUG_PREFIX_MAP ?=
"-fdebug-prefix-map=${WORKDIR}=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}
\<br>
- -fdebug-prefix-map=${STAGING_DIR_HOST}=
\<br>
-
-fdebug-prefix-map=${STAGING_DIR_NATIVE}= \<br>
+DEBUG_PREFIX_MAP ?=
"-ffile-prefix-map=${WORKDIR}=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}
\<br>
+ -ffile-prefix-map=${STAGING_DIR_HOST}= \<br>
+ -ffile-prefix-map=${STAGING_DIR_NATIVE}=
\<br>
"<br>
DEBUG_FLAGS ?= "-g -feliminate-unused-debug-types
${DEBUG_PREFIX_MAP}"<br>
<br>
-- <br>
2.20.0<br>
<br>
-- <br>
_______________________________________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org"
target="_blank" moz-do-not-send="true">Openembedded-core@lists.openembedded.org</a><br>
<a
href="http://lists.openembedded.org/mailman/listinfo/openembedded-core"
rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.openembedded.org/mailman/listinfo/openembedded-core</a><br>
</blockquote>
</div>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr" class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">Christopher Larson<br>
kergoth at gmail dot com<br>
Founder - BitBake, OpenEmbedded, OpenZaurus<br>
Senior Software Engineer, Mentor Graphics</div>
</div>
</div>
</div>
</blockquote>
<p><br>
</p>
<pre class="moz-signature" cols="72">--
Kai Kang</pre>
</body>
</html>