From: Ross Burton <[email protected]>

The build host configuration isn't reproducible as it varies depending
on the gcc version of the build host. This information isn't useful on the
target anyway so remove it.

Signed-off-by: Richard Purdie <[email protected]>
---
 meta/recipes-devtools/gcc/gcc-target.inc | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/recipes-devtools/gcc/gcc-target.inc 
b/meta/recipes-devtools/gcc/gcc-target.inc
index 18d078db0af..204f9475fc5 100644
--- a/meta/recipes-devtools/gcc/gcc-target.inc
+++ b/meta/recipes-devtools/gcc/gcc-target.inc
@@ -179,6 +179,10 @@ do_install () {
        # Cleanup manpages..
        rm -rf ${D}${mandir}/man7
 
+       # Don't package details about the build host
+       rm -f 
${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/plugin/include/auto-build.h
+       rm -f ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/plugin/include/bconfig.h
+
        cd ${D}${bindir}
 
        # We care about g++ not c++
-- 
2.25.0

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to