Skip to contentSkip to conversation

gcc: target gcc should include all libexec binaries, ie lto-wrapper

PATCH In review Martin Jansa 1 participant 2 messages Jun 9, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gcc: target gcc should include all libexec binaries, ie lto-wrapper

---
 recipes/gcc/gcc-package-target.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
recipes/gcc/gcc-package-target.inc +1 -1
index 0676b53..32b0a48 100644
@@ -17,7 +17,7 @@ PACKAGES = "\
 FILES_${PN} = "\
   ${bindir}/${TARGET_PREFIX}gcc \
   ${bindir}/${TARGET_PREFIX}gccbug \
-  ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/collect2 \
+  ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/* \
   ${gcclibdir}/${TARGET_SYS}/${BINV}/*.o \
   ${gcclibdir}/${TARGET_SYS}/${BINV}/specs \
   ${gcclibdir}/${TARGET_SYS}/${BINV}/lib* \
Signature · 1 line
1.7.1
#1 lore raw
Quoted 10 lines · Martin Jansa

---
 recipes/gcc/gcc-package-target.inc |    2 +-

 1 files changed, 1 insertions(+), 1 deletions(-)
recipes/gcc/gcc-package-target.inc +0 -0
index 0676b53..32b0a48 100644

recipes/gcc/gcc-package-target.inc PACKAGES = "\ · line 20

Quoted 5 lines
recipes/gcc/gcc-package-target.inc +1 -1
@@ -17,7 +17,7 @@ PACKAGES = "\
  FILES_${PN} = "\
   ${bindir}/${TARGET_PREFIX}gcc \
   ${bindir}/${TARGET_PREFIX}gccbug \
-  ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/collect2 \
+  ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/* \

I was wrong to include * here, because it steals ie cpp from cpp package, but you get the idea.

Please comment if gcc package is right place to put lto binaries

./usr/libexec/gcc/arm-angstrom-linux-gnueabi/4.5.1/lto1 ./usr/libexec/gcc/arm-angstrom-linux-gnueabi/4.5.1/collect2 ./usr/libexec/gcc/arm-angstrom-linux-gnueabi/4.5.1/lto-wrapper is probably enough

Regards