summaryrefslogtreecommitdiffstats
path: root/meta/packages/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/gcc')
-rw-r--r--meta/packages/gcc/gcc-configure-runtime.inc2
-rw-r--r--meta/packages/gcc/gcc-package-cross.inc6
2 files changed, 4 insertions, 4 deletions
diff --git a/meta/packages/gcc/gcc-configure-runtime.inc b/meta/packages/gcc/gcc-configure-runtime.inc
index 6716b0deed..7b43aabf99 100644
--- a/meta/packages/gcc/gcc-configure-runtime.inc
+++ b/meta/packages/gcc/gcc-configure-runtime.inc
@@ -13,7 +13,7 @@ RUNTIMETARGET = "libgcc libssp libstdc++-v3"
13# libgfortran 13# libgfortran
14 14
15do_configure () { 15do_configure () {
16 cp ${STAGING_DIR_NATIVE}${prefix_native}/include/gcc-build-internal/* ${S}/gcc 16 cp ${STAGING_DIR_NATIVE}${prefix_native}/include/gcc-build-internal-${TARGET_SYS}/* ${S}/gcc
17 for d in ${RUNTIMETARGET}; do 17 for d in ${RUNTIMETARGET}; do
18 echo "Configuring $d" 18 echo "Configuring $d"
19 mkdir -p ${B}/$d/ 19 mkdir -p ${B}/$d/
diff --git a/meta/packages/gcc/gcc-package-cross.inc b/meta/packages/gcc/gcc-package-cross.inc
index 86f973e885..e0b622b8c1 100644
--- a/meta/packages/gcc/gcc-package-cross.inc
+++ b/meta/packages/gcc/gcc-package-cross.inc
@@ -20,14 +20,14 @@ do_install () {
20 if [ "${PN}" == "gcc-cross" -o "${PN}" == "gcc-crosssdk" ]; then 20 if [ "${PN}" == "gcc-cross" -o "${PN}" == "gcc-crosssdk" ]; then
21 install -d ${D}${includedir}/gcc-build-internal 21 install -d ${D}${includedir}/gcc-build-internal
22 for f in *.h *.c libgcc.mvars; do 22 for f in *.h *.c libgcc.mvars; do
23 cp ${B}/gcc/$f ${D}${includedir}/gcc-build-internal/ 23 cp ${B}/gcc/$f ${D}${includedir}/gcc-build-internal-${TARGET_SYS}/
24 done 24 done
25 # Special for PowerPC (and possibly others) 25 # Special for PowerPC (and possibly others)
26 if [ -f ${B}/gcc/tramp.S ]; then 26 if [ -f ${B}/gcc/tramp.S ]; then
27 cp ${B}/gcc/*.S ${D}${includedir}/gcc-build-internal/ 27 cp ${B}/gcc/*.S ${D}${includedir}/gcc-build-internal-${TARGET_SYS}/
28 fi 28 fi
29 if [ -f libgcc.mvars]; then 29 if [ -f libgcc.mvars]; then
30 cp ${B}/gcc/libgcc.mvars ${D}${includedir}/gcc-build-internal/ 30 cp ${B}/gcc/libgcc.mvars ${D}${includedir}/gcc-build-internal-${TARGET_SYS}/
31 fi 31 fi
32 fi 32 fi
33} 33}