diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-09-14 20:19:06 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-09-14 20:19:06 +0100 |
commit | 48a278ed71306f633091ed81d170eeff45ba3759 (patch) | |
tree | 8920b54ad135e1090af9ab9b63a6c929bfc2a61e /meta/packages/glibc | |
parent | ea5d780653a715fcefb0bd844e286dd8b3c6ce12 (diff) | |
download | poky-48a278ed71306f633091ed81d170eeff45ba3759.tar.gz |
glibc-stage.inc: Massively simplify and speedup by just copying the data generated in the do_install stage
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/glibc')
-rw-r--r-- | meta/packages/glibc/glibc-stage.inc | 21 |
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 @@ | |||
1 | do_stage() { | 1 | do_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 | |||