summaryrefslogtreecommitdiff
path: root/meta/packages/gcc
diff options
context:
space:
mode:
authorGary Thomas <gary@mlbassoc.com>2010-05-04 05:59:12 -0600
committerJoshua Lock <josh@linux.intel.com>2010-05-06 14:52:08 +0100
commit28ca131ebe09d8acf360f34d58df2526628244e0 (patch)
tree2b861224505aaf600cfd9bc49590d43022207a44 /meta/packages/gcc
parente150e90f0a2d7a2a804c3aab95aa931b84c65bd8 (diff)
downloadopenembedded-core-28ca131ebe09d8acf360f34d58df2526628244e0.tar.gz
openembedded-core-28ca131ebe09d8acf360f34d58df2526628244e0.tar.bz2
openembedded-core-28ca131ebe09d8acf360f34d58df2526628244e0.tar.xz
openembedded-core-28ca131ebe09d8acf360f34d58df2526628244e0.zip
Fix build problem with GCC-4.3.3 on PowerPC
Signed-off-by: Gary Thomas <gary@mlbassoc.com>
Diffstat (limited to 'meta/packages/gcc')
-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