diff options
author | Richard Purdie <richard@openedhand.com> | 2007-09-19 13:03:16 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-09-19 13:03:16 +0000 |
commit | 75bc31026afdb2de58011803e8a765b58c87b6f8 (patch) | |
tree | 90f3e62d1aa3889b1f9146c4b683a5c753a6ec82 /meta/packages/glibc/glibc_2.5.bb | |
parent | e32f910a5be9614f50e860fbd78ea1627555e038 (diff) | |
download | poky-75bc31026afdb2de58011803e8a765b58c87b6f8.tar.gz |
glibc/glibc-intermediate: No need to install headers/libs to cross directory (populate_staging speedup)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2765 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/glibc/glibc_2.5.bb')
-rw-r--r-- | meta/packages/glibc/glibc_2.5.bb | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/meta/packages/glibc/glibc_2.5.bb b/meta/packages/glibc/glibc_2.5.bb index 74a7d86640..7a1f284980 100644 --- a/meta/packages/glibc/glibc_2.5.bb +++ b/meta/packages/glibc/glibc_2.5.bb | |||
@@ -175,29 +175,6 @@ do_stage() { | |||
175 | done | 175 | done |
176 | echo 'GROUP ( libpthread.so.0 libpthread_nonshared.a )' > ${STAGING_LIBDIR}/libpthread.so | 176 | echo 'GROUP ( libpthread.so.0 libpthread_nonshared.a )' > ${STAGING_LIBDIR}/libpthread.so |
177 | echo 'GROUP ( libc.so.6 libc_nonshared.a )' > ${STAGING_LIBDIR}/libc.so | 177 | echo 'GROUP ( libc.so.6 libc_nonshared.a )' > ${STAGING_LIBDIR}/libc.so |
178 | |||
179 | rm -f ${CROSS_DIR}/${TARGET_SYS}/lib/libc.so.6 | ||
180 | oe_runmake 'install_root=${CROSS_DIR}/${TARGET_SYS}' \ | ||
181 | 'includedir=/include' 'libdir=/lib' 'slibdir=/lib' \ | ||
182 | '${CROSS_DIR}/${TARGET_SYS}/lib/libc.so.6' \ | ||
183 | install-headers install-lib | ||
184 | |||
185 | install -d ${CROSS_DIR}/${TARGET_SYS}/include/gnu \ | ||
186 | ${CROSS_DIR}/${TARGET_SYS}/include/bits \ | ||
187 | ${CROSS_DIR}/${TARGET_SYS}/include/rpcsvc | ||
188 | install -m 0644 ${S}/include/gnu/stubs.h ${CROSS_DIR}/${TARGET_SYS}/include/gnu/ | ||
189 | install -m 0644 ${B}/bits/stdio_lim.h ${CROSS_DIR}/${TARGET_SYS}/include/bits/ | ||
190 | install -m 0644 misc/syscall-list.h ${CROSS_DIR}/${TARGET_SYS}/include/bits/syscall.h | ||
191 | for r in ${rpcsvc}; do | ||
192 | h=`echo $r|sed -e's,\.x$,.h,'` | ||
193 | install -m 0644 ${S}/sunrpc/rpcsvc/$h ${CROSS_DIR}/${TARGET_SYS}/include/rpcsvc/ | ||
194 | done | ||
195 | |||
196 | for i in libc.a libc_pic.a libc_nonshared.a; do | ||
197 | install -m 0644 ${B}/$i ${CROSS_DIR}/${TARGET_SYS}/lib/ || die "failed to install $i" | ||
198 | done | ||
199 | echo 'GROUP ( libpthread.so.0 libpthread_nonshared.a )' > ${CROSS_DIR}/${TARGET_SYS}/lib/libpthread.so | ||
200 | echo 'GROUP ( libc.so.6 libc_nonshared.a )' > ${CROSS_DIR}/${TARGET_SYS}/lib/libc.so | ||
201 | } | 178 | } |
202 | 179 | ||
203 | require glibc-package.bbclass | 180 | require glibc-package.bbclass |