summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/packages/glibc/glibc-stage.inc21
1 files changed, 5 insertions, 16 deletions
diff --git a/meta/packages/glibc/glibc-stage.inc b/meta/packages/glibc/glibc-stage.inc
index 2b7b303c14..e43bffa464 100644
--- a/meta/packages/glibc/glibc-stage.inc
+++ b/meta/packages/glibc/glibc-stage.inc
@@ -1,18 +1,7 @@
1do_stage() { 1do_stage() {
2 rm -f ${STAGING_DIR_HOST}${layout_base_libdir}/libc.so.6 2 # Installing directly into staging creates some races between existing
3 oe_runmake 'install_root=${STAGING_DIR_HOST}' \ 3 # glibc-initial files and us. We could use a new DESTDIR but we may as
4 'includedir=${layout_includedir}' 'libdir=${layout_libdir}' 'slibdir=${layout_base_libdir}' \ 4 # well just copy the data installed by do_install
5 '${STAGING_DIR_HOST}${layout_base_libdir}/libc.so.6' \ 5 cp -pPR ${D}/* ${STAGING_DIR_HOST}/
6 install
7
8 install -d ${STAGING_INCDIR}/gnu \
9 ${STAGING_INCDIR}/bits \
10 ${STAGING_INCDIR}/rpcsvc
11 install -m 0644 ${S}/include/gnu/stubs.h ${STAGING_INCDIR}/gnu/
12 install -m 0644 ${B}/bits/stdio_lim.h ${STAGING_INCDIR}/bits/
13 install -m 0644 misc/syscall-list.h ${STAGING_INCDIR}/bits/syscall.h
14 for r in ${rpcsvc}; do
15 h=`echo $r|sed -e's,\.x$,.h,'`
16 install -m 0644 ${S}/sunrpc/rpcsvc/$h ${STAGING_INCDIR}/rpcsvc/
17 done
18} 6}
7