diff options
author | Khem Raj <raj.khem@gmail.com> | 2012-08-15 23:16:11 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-21 12:15:32 +0100 |
commit | 48df3fe947c4d900aa6b66d9d8352c0d9e59ebe4 (patch) | |
tree | 46ee821cd3792d650abecf095354e754343e2dad /meta/recipes-core/eglibc/eglibc-initial.inc | |
parent | b0faebd1f07e1616004bd19664395932e7c2c48f (diff) | |
download | ast2050-yocto-poky-48df3fe947c4d900aa6b66d9d8352c0d9e59ebe4.zip ast2050-yocto-poky-48df3fe947c4d900aa6b66d9d8352c0d9e59ebe4.tar.gz |
eglibc: Fix eglibc-initial and let eglibc depend on it
eglibc-initial does not need to install fake shared libs
anymore so drop it.
eglibc now should depend on eglibc-initial so that bootstrap
sysroot gets populated properly.
Drop references to gcc intermediate from glibc testing
scripts.
(From OE-Core rev: bddc141e7cec18744902787ab53c21bf28e71f78)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/eglibc/eglibc-initial.inc')
-rw-r--r-- | meta/recipes-core/eglibc/eglibc-initial.inc | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/meta/recipes-core/eglibc/eglibc-initial.inc b/meta/recipes-core/eglibc/eglibc-initial.inc index 1020e40..3b99ac2 100644 --- a/meta/recipes-core/eglibc/eglibc-initial.inc +++ b/meta/recipes-core/eglibc/eglibc-initial.inc @@ -32,6 +32,9 @@ do_install () { install-bootstrap-headers=yes install-headers oe_runmake csu/subdir_lib + mkdir -p ${D}${libdir}/ + install -m 644 csu/crt[1in].o ${D}${libdir} + # Two headers -- stubs.h and features.h -- aren't installed by install-headers, # so do them by hand. We can tolerate an empty stubs.h for the moment. # See e.g. http://gcc.gnu.org/ml/gcc/2002-01/msg00900.html @@ -42,15 +45,10 @@ do_install () { if [ -e ${B}/bits/stdio_lim.h ]; then cp ${B}/bits/stdio_lim.h ${D}${includedir}/bits/ fi - mkdir -p ${D}${libdir}/ - install -m 644 csu/crt[1in].o ${D}${libdir} - ${CC} -nostdlib -nostartfiles -shared -x c /dev/null \ - -o ${D}${libdir}/libc.so - - # add links to linux-libc-headers: gcc-{cross,crossdk}-intermediate need this. - for t in linux asm asm-generic; do - ln -s ${STAGING_DIR_TARGET}${includedir}/$t ${D}${includedir}/ - done + # add links to linux-libc-headers: final eglibc build need this. + for t in linux asm asm-generic; do + ln -s ${STAGING_DIR_TARGET}${includedir}/$t ${D}${includedir}/ + done } do_install_locale() { |