summaryrefslogtreecommitdiff
path: root/packages/glibc/glibc_cvs.bb
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2007-10-29 21:45:43 +0000
committerRichard Purdie <rpurdie@rpsys.net>2007-10-29 21:45:43 +0000
commited8871081478dbba49836da15ef070e5b359e763 (patch)
tree234891d4a560eba1b2c372a52b27e677aa4db7f4 /packages/glibc/glibc_cvs.bb
parent5961d49c627b234d37a4451966db5b18ff7b0921 (diff)
glibc: Factor staging function into a common .inc and remove hardcoded staging layout
Diffstat (limited to 'packages/glibc/glibc_cvs.bb')
-rw-r--r--packages/glibc/glibc_cvs.bb24
1 files changed, 1 insertions, 23 deletions
diff --git a/packages/glibc/glibc_cvs.bb b/packages/glibc/glibc_cvs.bb
index 5ce25ae04f..9dbea14876 100644
--- a/packages/glibc/glibc_cvs.bb
+++ b/packages/glibc/glibc_cvs.bb
@@ -99,28 +99,6 @@ do_compile () {
)
}
-do_stage() {
- rm -f ${STAGING_LIBDIR}/libc.so.6
- oe_runmake 'install_root=${STAGING_DIR}/${HOST_SYS}' \
- 'includedir=/include' 'libdir=/lib' 'slibdir=/lib' \
- '${STAGING_LIBDIR}/libc.so.6' \
- install-headers install-lib
-
- install -d ${STAGING_INCDIR}/gnu \
- ${STAGING_INCDIR}/bits \
- ${STAGING_INCDIR}/rpcsvc
- install -m 0644 ${S}/include/gnu/stubs.h ${STAGING_INCDIR}/gnu/
- install -m 0644 ${B}/bits/stdio_lim.h ${STAGING_INCDIR}/bits/
- install -m 0644 misc/syscall-list.h ${STAGING_INCDIR}/bits/syscall.h
- for r in ${rpcsvc}; do
- h=`echo $r|sed -e's,\.x$,.h,'`
- install -m 0644 ${S}/sunrpc/rpcsvc/$h ${STAGING_INCDIR}/rpcsvc/
- done
- for i in libc.a libc_pic.a libc_nonshared.a; do
- install -m 0644 ${B}/$i ${STAGING_LIBDIR}/ || die "failed to install $i"
- done
- echo 'GROUP ( libpthread.so.0 libpthread_nonshared.a )' > ${STAGING_LIBDIR}/libpthread.so
- echo 'GROUP ( libc.so.6 libc_nonshared.a )' > ${STAGING_LIBDIR}/libc.so
-}
+require glibc-stage.inc
require glibc-package.bbclass