summaryrefslogtreecommitdiffstats
path: root/meta/packages/glibc/glibc_2.3.5+cvs20050627.bb
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-10-29 20:35:03 +0000
committerRichard Purdie <richard@openedhand.com>2007-10-29 20:35:03 +0000
commit6a97ee543a3e1ec9398b8a009f4a6324cdfab2a2 (patch)
treefb1eda00c9c6a3974211e96a8b4bb158ec7f4fae /meta/packages/glibc/glibc_2.3.5+cvs20050627.bb
parent3b945ff45c9caf683962ad34dcde602cba0a1186 (diff)
downloadpoky-6a97ee543a3e1ec9398b8a009f4a6324cdfab2a2.tar.gz
glibc: Convert from hardcoded staging layout
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3027 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/glibc/glibc_2.3.5+cvs20050627.bb')
-rw-r--r--meta/packages/glibc/glibc_2.3.5+cvs20050627.bb14
1 files changed, 7 insertions, 7 deletions
diff --git a/meta/packages/glibc/glibc_2.3.5+cvs20050627.bb b/meta/packages/glibc/glibc_2.3.5+cvs20050627.bb
index a7bf9b9582..e2a2119f2e 100644
--- a/meta/packages/glibc/glibc_2.3.5+cvs20050627.bb
+++ b/meta/packages/glibc/glibc_2.3.5+cvs20050627.bb
@@ -120,10 +120,10 @@ do_compile () {
120} 120}
121 121
122do_stage() { 122do_stage() {
123 rm -f ${STAGING_LIBDIR}/libc.so.6 123 rm -f ${STAGING_DIR_HOST}${layout_base_libdir}/libc.so.6
124 oe_runmake 'install_root=${STAGING_DIR}/${HOST_SYS}' \ 124 oe_runmake 'install_root=${STAGING_DIR_HOST}' \
125 'includedir=/include' 'libdir=/lib' 'slibdir=/lib' \ 125 'includedir=${layout_includedir}' 'libdir=${layout_libdir}' 'slibdir=${layout_base_libdir}' \
126 '${STAGING_LIBDIR}/libc.so.6' \ 126 '${STAGING_DIR_HOST}${layout_base_libdir}/libc.so.6' \
127 install-headers install-lib 127 install-headers install-lib
128 128
129 install -d ${STAGING_INCDIR}/gnu \ 129 install -d ${STAGING_INCDIR}/gnu \
@@ -137,10 +137,10 @@ do_stage() {
137 install -m 0644 ${S}/sunrpc/rpcsvc/$h ${STAGING_INCDIR}/rpcsvc/ 137 install -m 0644 ${S}/sunrpc/rpcsvc/$h ${STAGING_INCDIR}/rpcsvc/
138 done 138 done
139 for i in libc.a libc_pic.a libc_nonshared.a; do 139 for i in libc.a libc_pic.a libc_nonshared.a; do
140 install -m 0644 ${B}/$i ${STAGING_LIBDIR}/ || die "failed to install $i" 140 install -m 0644 ${B}/$i ${STAGING_DIR_HOST}/${layout_base_libdir}/ || die "failed to install $i"
141 done 141 done
142 echo 'GROUP ( libpthread.so.0 libpthread_nonshared.a )' > ${STAGING_LIBDIR}/libpthread.so 142 echo 'GROUP ( libpthread.so.0 libpthread_nonshared.a )' > ${STAGING_DIR_HOST}/${layout_base_libdir}/libpthread.so
143 echo 'GROUP ( libc.so.6 libc_nonshared.a )' > ${STAGING_LIBDIR}/libc.so 143 echo 'GROUP ( libc.so.6 libc_nonshared.a )' > ${STAGING_DIR_HOST}/${layout_base_libdir}/libc.so
144} 144}
145 145
146require glibc-package.bbclass 146require glibc-package.bbclass