summaryrefslogtreecommitdiffstats
path: root/meta/packages/glibc/glibc-initial.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/glibc/glibc-initial.inc')
-rw-r--r--meta/packages/glibc/glibc-initial.inc10
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/packages/glibc/glibc-initial.inc b/meta/packages/glibc/glibc-initial.inc
index 21b7631d3e..127e93e9d3 100644
--- a/meta/packages/glibc/glibc-initial.inc
+++ b/meta/packages/glibc/glibc-initial.inc
@@ -12,7 +12,7 @@ do_configure () {
12 find ${S} -name "configure" | xargs touch 12 find ${S} -name "configure" | xargs touch
13 ${S}/configure --host=${TARGET_SYS} --build=${BUILD_SYS} \ 13 ${S}/configure --host=${TARGET_SYS} --build=${BUILD_SYS} \
14 --without-cvs --disable-sanity-checks \ 14 --without-cvs --disable-sanity-checks \
15 --with-headers=${STAGING_DIR_TARGET}${layout_includedir} \ 15 --with-headers=${STAGING_DIR_TARGET}${includedir} \
16 --enable-hacker-mode 16 --enable-hacker-mode
17 if grep -q GLIBC_2.3 ${S}/ChangeLog; then 17 if grep -q GLIBC_2.3 ${S}/ChangeLog; then
18 # glibc-2.3.x passes cross options to $(CC) when generating errlist-compat.c, which fails without a real cross-compiler. 18 # glibc-2.3.x passes cross options to $(CC) when generating errlist-compat.c, which fails without a real cross-compiler.
@@ -32,7 +32,7 @@ do_compile () {
32 32
33do_stage () { 33do_stage () {
34 oe_runmake cross-compiling=yes install_root=${STAGING_DIR_HOST} \ 34 oe_runmake cross-compiling=yes install_root=${STAGING_DIR_HOST} \
35 includedir='${layout_includedir}' prefix='${layout_prefix}' \ 35 includedir='${includedir}' prefix='${prefix}' \
36 install-bootstrap-headers=yes install-headers 36 install-bootstrap-headers=yes install-headers
37 37
38 oe_runmake csu/subdir_lib 38 oe_runmake csu/subdir_lib
@@ -46,10 +46,10 @@ do_stage () {
46 if [ -e ${B}/bits/stdio_lim.h ]; then 46 if [ -e ${B}/bits/stdio_lim.h ]; then
47 cp ${B}/bits/stdio_lim.h ${STAGING_INCDIR}/bits/ 47 cp ${B}/bits/stdio_lim.h ${STAGING_INCDIR}/bits/
48 fi 48 fi
49 mkdir -p ${STAGING_DIR_TARGET}${layout_libdir} 49 mkdir -p ${STAGING_DIR_TARGET}${libdir}
50 install -m 644 csu/crt[1in].o ${STAGING_DIR_TARGET}${layout_libdir} 50 install -m 644 csu/crt[1in].o ${STAGING_DIR_TARGET}${libdir}
51 ${CC} -nostdlib -nostartfiles -shared -x c /dev/null \ 51 ${CC} -nostdlib -nostartfiles -shared -x c /dev/null \
52 -o ${STAGING_DIR_TARGET}${layout_libdir}/libc.so 52 -o ${STAGING_DIR_TARGET}${libdir}/libc.so
53} 53}
54 54
55do_install () { 55do_install () {