summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-package-target.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-package-target.inc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-package-target.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-package-target.inc b/meta/recipes-devtools/gcc/gcc-package-target.inc
index 6cc308c6dc..8c66c72ac9 100644
--- a/meta/recipes-devtools/gcc/gcc-package-target.inc
+++ b/meta/recipes-devtools/gcc/gcc-package-target.inc
@@ -72,6 +72,8 @@ do_install () {
72 # Cleanup some of the ${libdir}{,exec}/gcc stuff ... 72 # Cleanup some of the ${libdir}{,exec}/gcc stuff ...
73 rm -r ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/install-tools 73 rm -r ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/install-tools
74 rm -r ${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/install-tools 74 rm -r ${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/install-tools
75 rm -r ${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/*.so
76 rm -r ${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/*.la
75 77
76 # Hack around specs file assumptions 78 # Hack around specs file assumptions
77 test -f ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/specs && sed -i -e '/^*cross_compile:$/ { n; s/1/0/; }' ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/specs 79 test -f ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/specs && sed -i -e '/^*cross_compile:$/ { n; s/1/0/; }' ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/specs