summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2020-03-10 14:07:01 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-03-11 13:43:58 +0000
commitf9154b2c3eff8434914710ab453e13cf338597ec (patch)
tree56213a8891550f85d94d2a02d2eda408708ebc46 /meta/recipes-devtools
parent5463971d45b21512210cf20f3902baf95eacd4c6 (diff)
downloadopenembedded-core-contrib-f9154b2c3eff8434914710ab453e13cf338597ec.tar.gz
gcc: don't ship build host information in the target gcc-plugins package
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 <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/gcc/gcc-target.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-target.inc b/meta/recipes-devtools/gcc/gcc-target.inc
index 18d078db0a..204f9475fc 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++