diff options
Diffstat (limited to 'meta/packages/glibc/glibc-initial.inc')
-rw-r--r-- | meta/packages/glibc/glibc-initial.inc | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/meta/packages/glibc/glibc-initial.inc b/meta/packages/glibc/glibc-initial.inc index 127e93e9d3..8d864db91a 100644 --- a/meta/packages/glibc/glibc-initial.inc +++ b/meta/packages/glibc/glibc-initial.inc | |||
@@ -30,8 +30,8 @@ do_compile () { | |||
30 | : | 30 | : |
31 | } | 31 | } |
32 | 32 | ||
33 | do_stage () { | 33 | do_install () { |
34 | oe_runmake cross-compiling=yes install_root=${STAGING_DIR_HOST} \ | 34 | oe_runmake cross-compiling=yes install_root=${D} \ |
35 | includedir='${includedir}' prefix='${prefix}' \ | 35 | includedir='${includedir}' prefix='${prefix}' \ |
36 | install-bootstrap-headers=yes install-headers | 36 | install-bootstrap-headers=yes install-headers |
37 | 37 | ||
@@ -39,19 +39,15 @@ do_stage () { | |||
39 | # Two headers -- stubs.h and features.h -- aren't installed by install-headers, | 39 | # Two headers -- stubs.h and features.h -- aren't installed by install-headers, |
40 | # so do them by hand. We can tolerate an empty stubs.h for the moment. | 40 | # so do them by hand. We can tolerate an empty stubs.h for the moment. |
41 | # See e.g. http://gcc.gnu.org/ml/gcc/2002-01/msg00900.html | 41 | # See e.g. http://gcc.gnu.org/ml/gcc/2002-01/msg00900.html |
42 | mkdir -p ${STAGING_INCDIR}/gnu | 42 | mkdir -p ${D}${includedir}/gnu/ |
43 | touch ${STAGING_INCDIR}/gnu/stubs.h | 43 | touch ${D}${includedir}/gnu/stubs.h |
44 | cp ${S}/include/features.h ${STAGING_INCDIR}/features.h | 44 | cp ${S}/include/features.h ${D}${includedir}/features.h |
45 | 45 | ||
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 ${D}${includedir}/bits/ |
48 | fi | 48 | fi |
49 | mkdir -p ${STAGING_DIR_TARGET}${libdir} | 49 | mkdir -p ${D}${libdir}/ |
50 | install -m 644 csu/crt[1in].o ${STAGING_DIR_TARGET}${libdir} | 50 | install -m 644 csu/crt[1in].o ${D}${libdir} |
51 | ${CC} -nostdlib -nostartfiles -shared -x c /dev/null \ | 51 | ${CC} -nostdlib -nostartfiles -shared -x c /dev/null \ |
52 | -o ${STAGING_DIR_TARGET}${libdir}/libc.so | 52 | -o ${D}${libdir}/libc.so |
53 | } | ||
54 | |||
55 | do_install () { | ||
56 | : | ||
57 | } | 53 | } |