summaryrefslogtreecommitdiff
path: root/meta/packages/gcc/gcc-package-cross.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/gcc/gcc-package-cross.inc')
-rw-r--r--meta/packages/gcc/gcc-package-cross.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/packages/gcc/gcc-package-cross.inc b/meta/packages/gcc/gcc-package-cross.inc
index 449c8b548..86f973e88 100644
--- a/meta/packages/gcc/gcc-package-cross.inc
+++ b/meta/packages/gcc/gcc-package-cross.inc
@@ -22,6 +22,10 @@ do_install () {
for f in *.h *.c libgcc.mvars; do
cp ${B}/gcc/$f ${D}${includedir}/gcc-build-internal/
done
+ # Special for PowerPC (and possibly others)
+ if [ -f ${B}/gcc/tramp.S ]; then
+ cp ${B}/gcc/*.S ${D}${includedir}/gcc-build-internal/
+ fi
if [ -f libgcc.mvars]; then
cp ${B}/gcc/libgcc.mvars ${D}${includedir}/gcc-build-internal/
fi