summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/eglibc/eglibc-initial.inc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2012-08-15 23:16:11 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-21 12:15:32 +0100
commit48df3fe947c4d900aa6b66d9d8352c0d9e59ebe4 (patch)
tree46ee821cd3792d650abecf095354e754343e2dad /meta/recipes-core/eglibc/eglibc-initial.inc
parentb0faebd1f07e1616004bd19664395932e7c2c48f (diff)
downloadpoky-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.inc16
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 1020e402d3..3b99ac2854 100644
--- a/meta/recipes-core/eglibc/eglibc-initial.inc
+++ b/meta/recipes-core/eglibc/eglibc-initial.inc
@@ -32,6 +32,9 @@ do_install () {
32 install-bootstrap-headers=yes install-headers 32 install-bootstrap-headers=yes install-headers
33 33
34 oe_runmake csu/subdir_lib 34 oe_runmake csu/subdir_lib
35 mkdir -p ${D}${libdir}/
36 install -m 644 csu/crt[1in].o ${D}${libdir}
37
35 # Two headers -- stubs.h and features.h -- aren't installed by install-headers, 38 # Two headers -- stubs.h and features.h -- aren't installed by install-headers,
36 # so do them by hand. We can tolerate an empty stubs.h for the moment. 39 # so do them by hand. We can tolerate an empty stubs.h for the moment.
37 # See e.g. http://gcc.gnu.org/ml/gcc/2002-01/msg00900.html 40 # See e.g. http://gcc.gnu.org/ml/gcc/2002-01/msg00900.html
@@ -42,15 +45,10 @@ do_install () {
42 if [ -e ${B}/bits/stdio_lim.h ]; then 45 if [ -e ${B}/bits/stdio_lim.h ]; then
43 cp ${B}/bits/stdio_lim.h ${D}${includedir}/bits/ 46 cp ${B}/bits/stdio_lim.h ${D}${includedir}/bits/
44 fi 47 fi
45 mkdir -p ${D}${libdir}/ 48 # add links to linux-libc-headers: final eglibc build need this.
46 install -m 644 csu/crt[1in].o ${D}${libdir} 49 for t in linux asm asm-generic; do
47 ${CC} -nostdlib -nostartfiles -shared -x c /dev/null \ 50 ln -s ${STAGING_DIR_TARGET}${includedir}/$t ${D}${includedir}/
48 -o ${D}${libdir}/libc.so 51 done
49
50 # add links to linux-libc-headers: gcc-{cross,crossdk}-intermediate need this.
51 for t in linux asm asm-generic; do
52 ln -s ${STAGING_DIR_TARGET}${includedir}/$t ${D}${includedir}/
53 done
54} 52}
55 53
56do_install_locale() { 54do_install_locale() {