]> code.ossystems Code Review - openembedded-core.git/commitdiff
gcc: don't ship build host information in the target gcc-plugins package
authorRoss Burton <ross.burton@intel.com>
Tue, 10 Mar 2020 14:07:01 +0000 (14:07 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 11 Mar 2020 13:43:58 +0000 (13:43 +0000)
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>
meta/recipes-devtools/gcc/gcc-target.inc

index 18d078db0af278248fc0a550db803289edf244d8..204f9475fc55531207eba6e561037a11ef7c0074 100644 (file)
@@ -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++