summaryrefslogtreecommitdiffstats
path: root/meta/packages/glibc/glibc_csl-2005q3-2.bb
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-10-29 21:13:42 +0000
committerRichard Purdie <richard@openedhand.com>2007-10-29 21:13:42 +0000
commit4894e1380e1ebe62b13c3ac051cc235de33e38f5 (patch)
tree81873e9ed6197ba8b396f389903a680b1310895b /meta/packages/glibc/glibc_csl-2005q3-2.bb
parent6a97ee543a3e1ec9398b8a009f4a6324cdfab2a2 (diff)
downloadpoky-4894e1380e1ebe62b13c3ac051cc235de33e38f5.tar.gz
glibc: Factor staging function into a common .inc file
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3028 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/glibc/glibc_csl-2005q3-2.bb')
-rw-r--r--meta/packages/glibc/glibc_csl-2005q3-2.bb24
1 files changed, 1 insertions, 23 deletions
diff --git a/meta/packages/glibc/glibc_csl-2005q3-2.bb b/meta/packages/glibc/glibc_csl-2005q3-2.bb
index 8af447091b..a28c0b2361 100644
--- a/meta/packages/glibc/glibc_csl-2005q3-2.bb
+++ b/meta/packages/glibc/glibc_csl-2005q3-2.bb
@@ -99,28 +99,6 @@ do_compile () {
99 ) 99 )
100} 100}
101 101
102do_stage() { 102require glibc-stage.inc
103 rm -f ${STAGING_DIR_HOST}${layout_base_libdir}/libc.so.6
104 oe_runmake 'install_root=${STAGING_DIR_HOST}' \
105 'includedir=${layout_includedir}' 'libdir=${layout_libdir}' 'slibdir=${layout_base_libdir}' \
106 '${STAGING_DIR_HOST}${layout_base_libdir}/libc.so.6' \
107 install-headers install-lib
108
109 install -d ${STAGING_INCDIR}/gnu \
110 ${STAGING_INCDIR}/bits \
111 ${STAGING_INCDIR}/rpcsvc
112 install -m 0644 ${S}/include/gnu/stubs.h ${STAGING_INCDIR}/gnu/
113 install -m 0644 ${B}/bits/stdio_lim.h ${STAGING_INCDIR}/bits/
114 install -m 0644 misc/syscall-list.h ${STAGING_INCDIR}/bits/syscall.h
115 for r in ${rpcsvc}; do
116 h=`echo $r|sed -e's,\.x$,.h,'`
117 install -m 0644 ${S}/sunrpc/rpcsvc/$h ${STAGING_INCDIR}/rpcsvc/
118 done
119 for i in libc.a libc_pic.a libc_nonshared.a; do
120 install -m 0644 ${B}/$i ${STAGING_DIR_HOST}/${layout_base_libdir} || die "failed to install $i"
121 done
122 echo 'GROUP ( libpthread.so.0 libpthread_nonshared.a )' > ${STAGING_DIR_HOST}/${layout_base_libdir}/libpthread.so
123 echo 'GROUP ( libc.so.6 libc_nonshared.a )' > ${STAGING_DIR_HOST}/${layout_base_libdir}/libc.so
124}
125 103
126require glibc-package.bbclass 104require glibc-package.bbclass