summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross.inc2
-rw-r--r--meta/recipes-devtools/gcc/gcc-runtime.inc2
-rw-r--r--meta/recipes-devtools/gcc/libgcc.inc2
-rw-r--r--meta/recipes-devtools/gcc/libgfortran.inc4
4 files changed, 4 insertions, 6 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-cross.inc b/meta/recipes-devtools/gcc/gcc-cross.inc
index 777c970217..165230b15f 100644
--- a/meta/recipes-devtools/gcc/gcc-cross.inc
+++ b/meta/recipes-devtools/gcc/gcc-cross.inc
@@ -178,7 +178,7 @@ do_install () {
178 case ${PN} in 178 case ${PN} in
179 *gcc-cross|*gcc-crosssdk) 179 *gcc-cross|*gcc-crosssdk)
180 dest=${D}/${includedir}/gcc-build-internal-${MULTIMACH_TARGET_SYS} 180 dest=${D}/${includedir}/gcc-build-internal-${MULTIMACH_TARGET_SYS}
181 cp -fpPR . $dest 181 hardlinkdir . $dest
182 ;; 182 ;;
183 esac 183 esac
184} 184}
diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/meta/recipes-devtools/gcc/gcc-runtime.inc
index f8c1109f41..2e82a09b1c 100644
--- a/meta/recipes-devtools/gcc/gcc-runtime.inc
+++ b/meta/recipes-devtools/gcc/gcc-runtime.inc
@@ -22,7 +22,7 @@ do_configure () {
22 export CXX="${CXX} -nostdinc++ -nostdlib++" 22 export CXX="${CXX} -nostdinc++ -nostdlib++"
23 mtarget=`echo ${MULTIMACH_TARGET_SYS} | sed -e s#-${SDKPKGSUFFIX}##` 23 mtarget=`echo ${MULTIMACH_TARGET_SYS} | sed -e s#-${SDKPKGSUFFIX}##`
24 target=`echo ${TARGET_SYS} | sed -e s#-${SDKPKGSUFFIX}##` 24 target=`echo ${TARGET_SYS} | sed -e s#-${SDKPKGSUFFIX}##`
25 cp -fpPR ${STAGING_INCDIR_NATIVE}/gcc-build-internal-$mtarget/* ${B} 25 hardlinkdir ${STAGING_INCDIR_NATIVE}/gcc-build-internal-$mtarget ${B}
26 for d in libgcc ${RUNTIMETARGET}; do 26 for d in libgcc ${RUNTIMETARGET}; do
27 echo "Configuring $d" 27 echo "Configuring $d"
28 rm -rf ${B}/$target/$d/ 28 rm -rf ${B}/$target/$d/
diff --git a/meta/recipes-devtools/gcc/libgcc.inc b/meta/recipes-devtools/gcc/libgcc.inc
index 96f1969d90..1a1fbcc310 100644
--- a/meta/recipes-devtools/gcc/libgcc.inc
+++ b/meta/recipes-devtools/gcc/libgcc.inc
@@ -27,7 +27,7 @@ FILES_${PN}-dbg += "${base_libdir}/.debug/"
27do_configure () { 27do_configure () {
28 target=`echo ${MULTIMACH_TARGET_SYS} | sed -e s#-${SDKPKGSUFFIX}##` 28 target=`echo ${MULTIMACH_TARGET_SYS} | sed -e s#-${SDKPKGSUFFIX}##`
29 install -d ${D}${base_libdir} ${D}${libdir} 29 install -d ${D}${base_libdir} ${D}${libdir}
30 cp -fpPR ${STAGING_INCDIR_NATIVE}/gcc-build-internal-$target/* ${B} 30 hardlinkdir ${STAGING_INCDIR_NATIVE}/gcc-build-internal-$target/ ${B}
31 mkdir -p ${B}/${BPN} 31 mkdir -p ${B}/${BPN}
32 cd ${B}/${BPN} 32 cd ${B}/${BPN}
33 chmod a+x ${S}/${BPN}/configure 33 chmod a+x ${S}/${BPN}/configure
diff --git a/meta/recipes-devtools/gcc/libgfortran.inc b/meta/recipes-devtools/gcc/libgfortran.inc
index 3ae063279e..30e5ffeead 100644
--- a/meta/recipes-devtools/gcc/libgfortran.inc
+++ b/meta/recipes-devtools/gcc/libgfortran.inc
@@ -7,9 +7,7 @@ EXTRA_OECONF_PATHS = " \
7do_configure () { 7do_configure () {
8 mtarget=`echo ${MULTIMACH_TARGET_SYS} | sed -e s#-${SDKPKGSUFFIX}##` 8 mtarget=`echo ${MULTIMACH_TARGET_SYS} | sed -e s#-${SDKPKGSUFFIX}##`
9 target=`echo ${TARGET_SYS} | sed -e s#-${SDKPKGSUFFIX}##` 9 target=`echo ${TARGET_SYS} | sed -e s#-${SDKPKGSUFFIX}##`
10 #cp -fpPR ${STAGING_INCDIR_NATIVE}/gcc-build-internal-$mtarget/* ${B} 10 hardlinkdir ${STAGING_INCDIR_NATIVE}/gcc-build-internal-$mtarget ${B}
11 (cd ${STAGING_INCDIR_NATIVE}/gcc-build-internal-$mtarget/; find . -print0 | cpio --null -pdlu ${B})
12 (cd ${STAGING_INCDIR_NATIVE}/gcc-build-internal-$mtarget/; find . -type l -print0 | cpio -pd0mLu --no-preserve-owner ${B})
13 11
14 echo "Configuring libgfortran" 12 echo "Configuring libgfortran"
15 rm -rf ${B}/$target/libgfortran/ 13 rm -rf ${B}/$target/libgfortran/