summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-devtools/gcc/libgcc_4.6.bb20
1 files changed, 10 insertions, 10 deletions
diff --git a/meta/recipes-devtools/gcc/libgcc_4.6.bb b/meta/recipes-devtools/gcc/libgcc_4.6.bb
index 9db7243531..8eac3df435 100644
--- a/meta/recipes-devtools/gcc/libgcc_4.6.bb
+++ b/meta/recipes-devtools/gcc/libgcc_4.6.bb
@@ -20,30 +20,30 @@ FILES_${PN}-dev = " \
20 ${libdir}/${TARGET_SYS}/${BINV}/*crt* \ 20 ${libdir}/${TARGET_SYS}/${BINV}/*crt* \
21 ${libdir}/${TARGET_SYS}/${BINV}/libgcc*" 21 ${libdir}/${TARGET_SYS}/${BINV}/libgcc*"
22FILES_libgcov${PKGSUFFIX}-dev = " \ 22FILES_libgcov${PKGSUFFIX}-dev = " \
23 ${libdir}/${TARGET_SYS}/${BINV}/libgcov.a" 23 ${libdir}/${TARGET_SYS}/${BINV}/libgcov.a \
24 24 "
25FILES_${PN}-dbg += "${base_libdir}/.debug/" 25FILES_${PN}-dbg += "${base_libdir}/.debug/"
26 26
27do_configure () { 27do_configure () {
28 target=`echo ${MULTIMACH_TARGET_SYS} | sed -e s#-nativesdk##` 28 target=`echo ${MULTIMACH_TARGET_SYS} | sed -e s#-nativesdk##`
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 cp -fpPR ${STAGING_INCDIR_NATIVE}/gcc-build-internal-$target/* ${B}
31 mkdir -p ${B}/${PN} 31 mkdir -p ${B}/${BPN}
32 cd ${B}/${PN} 32 cd ${B}/${BPN}
33 chmod a+x ${S}/${PN}/configure 33 chmod a+x ${S}/${BPN}/configure
34 ${S}/${PN}/configure ${CONFIGUREOPTS} ${EXTRA_OECONF} 34 ${S}/${BPN}/configure ${CONFIGUREOPTS} ${EXTRA_OECONF}
35} 35}
36 36
37do_compile () { 37do_compile () {
38 target=`echo ${TARGET_SYS} | sed -e s#-nativesdk##` 38 target=`echo ${TARGET_SYS} | sed -e s#-nativesdk##`
39 cd ${B}/${PN} 39 cd ${B}/${BPN}
40 oe_runmake MULTIBUILDTOP=${B}/$target/${PN}/ 40 oe_runmake MULTIBUILDTOP=${B}/$target/${BPN}/
41} 41}
42 42
43do_install () { 43do_install () {
44 target=`echo ${TARGET_SYS} | sed -e s#-nativesdk##` 44 target=`echo ${TARGET_SYS} | sed -e s#-nativesdk##`
45 cd ${B}/${PN} 45 cd ${B}/${BPN}
46 oe_runmake 'DESTDIR=${D}' MULTIBUILDTOP=${B}/$target/${PN}/ install 46 oe_runmake 'DESTDIR=${D}' MULTIBUILDTOP=${B}/$target/${BPN}/ install
47 47
48 # Move libgcc_s into /lib 48 # Move libgcc_s into /lib
49 mkdir -p ${D}${base_libdir} 49 mkdir -p ${D}${base_libdir}