diff options
author | Khem Raj <raj.khem@gmail.com> | 2012-04-09 23:51:00 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-04-30 11:37:23 +0100 |
commit | 271e4e02f91e8eaad6241b5f26a14f1055a1087d (patch) | |
tree | be3ab1f09ca9aaaf3af9a3035b65ab82466b927a /meta/recipes-devtools | |
parent | 9ce94ea4a45b5aaeecb99c0872862b90b3d78977 (diff) | |
download | poky-271e4e02f91e8eaad6241b5f26a14f1055a1087d.tar.gz |
libgcc_4.6: Package libgcov nativesdk correctly
(From OE-Core rev: b32e26310d5b635b7ef1a6408dc14d400d799477)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/gcc/libgcc_4.6.bb | 20 |
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*" |
22 | FILES_libgcov${PKGSUFFIX}-dev = " \ | 22 | FILES_libgcov${PKGSUFFIX}-dev = " \ |
23 | ${libdir}/${TARGET_SYS}/${BINV}/libgcov.a" | 23 | ${libdir}/${TARGET_SYS}/${BINV}/libgcov.a \ |
24 | 24 | " | |
25 | FILES_${PN}-dbg += "${base_libdir}/.debug/" | 25 | FILES_${PN}-dbg += "${base_libdir}/.debug/" |
26 | 26 | ||
27 | do_configure () { | 27 | do_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 | ||
37 | do_compile () { | 37 | do_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 | ||
43 | do_install () { | 43 | do_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} |