summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2012-04-09 23:51:00 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-04-26 14:48:48 +0100
commitb32e26310d5b635b7ef1a6408dc14d400d799477 (patch)
treecea9fa7ea5350d1ca457c705982ad79501c3f9c3 /meta/recipes-devtools
parenteee3658366e1ae9d3e429b3d3c968938d8d0f00e (diff)
downloadopenembedded-core-b32e26310d5b635b7ef1a6408dc14d400d799477.tar.gz
openembedded-core-b32e26310d5b635b7ef1a6408dc14d400d799477.tar.bz2
openembedded-core-b32e26310d5b635b7ef1a6408dc14d400d799477.tar.xz
openembedded-core-b32e26310d5b635b7ef1a6408dc14d400d799477.zip
libgcc_4.6: Package libgcov nativesdk correctly
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta/recipes-devtools')
-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 9db724353..8eac3df43 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 = " \
${libdir}/${TARGET_SYS}/${BINV}/*crt* \
${libdir}/${TARGET_SYS}/${BINV}/libgcc*"
FILES_libgcov${PKGSUFFIX}-dev = " \
- ${libdir}/${TARGET_SYS}/${BINV}/libgcov.a"
-
+ ${libdir}/${TARGET_SYS}/${BINV}/libgcov.a \
+ "
FILES_${PN}-dbg += "${base_libdir}/.debug/"
do_configure () {
target=`echo ${MULTIMACH_TARGET_SYS} | sed -e s#-nativesdk##`
install -d ${D}${base_libdir} ${D}${libdir}
cp -fpPR ${STAGING_INCDIR_NATIVE}/gcc-build-internal-$target/* ${B}
- mkdir -p ${B}/${PN}
- cd ${B}/${PN}
- chmod a+x ${S}/${PN}/configure
- ${S}/${PN}/configure ${CONFIGUREOPTS} ${EXTRA_OECONF}
+ mkdir -p ${B}/${BPN}
+ cd ${B}/${BPN}
+ chmod a+x ${S}/${BPN}/configure
+ ${S}/${BPN}/configure ${CONFIGUREOPTS} ${EXTRA_OECONF}
}
do_compile () {
target=`echo ${TARGET_SYS} | sed -e s#-nativesdk##`
- cd ${B}/${PN}
- oe_runmake MULTIBUILDTOP=${B}/$target/${PN}/
+ cd ${B}/${BPN}
+ oe_runmake MULTIBUILDTOP=${B}/$target/${BPN}/
}
do_install () {
target=`echo ${TARGET_SYS} | sed -e s#-nativesdk##`
- cd ${B}/${PN}
- oe_runmake 'DESTDIR=${D}' MULTIBUILDTOP=${B}/$target/${PN}/ install
+ cd ${B}/${BPN}
+ oe_runmake 'DESTDIR=${D}' MULTIBUILDTOP=${B}/$target/${BPN}/ install
# Move libgcc_s into /lib
mkdir -p ${D}${base_libdir}