summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/eglibc/eglibc-initial.inc
diff options
context:
space:
mode:
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() {