summaryrefslogtreecommitdiff
path: root/strata/build-essential/stage2-glibc.morph
diff options
context:
space:
mode:
Diffstat (limited to 'strata/build-essential/stage2-glibc.morph')
-rw-r--r--strata/build-essential/stage2-glibc.morph16
1 files changed, 0 insertions, 16 deletions
diff --git a/strata/build-essential/stage2-glibc.morph b/strata/build-essential/stage2-glibc.morph
index ffa0970b..1fe00e41 100644
--- a/strata/build-essential/stage2-glibc.morph
+++ b/strata/build-essential/stage2-glibc.morph
@@ -1,15 +1,7 @@
name: stage2-glibc
kind: chunk
-
configure-commands:
- mkdir o
-
-# Configure flag notes:
-# 1. Avoid installing to PREFIX/lib64 on x86_64.
-# 2. Location of linux-api-headers.
-# 3. Normal flags. See glibc.morph.
-# 4. Force configuration values of certain things that can't be detected
-# in a cross-compile.
- |
case "$MORPH_ARCH" in
armv7*)
@@ -26,19 +18,11 @@ configure-commands:
`# [3]` --disable-profile --enable-kernel=2.6.25 \
`# [4]` libc_cv_c_cleanup=yes libc_cv_ctors_header=yes \
libc_cv_forced_unwind=yes libc_cv_ssp=no
-
build-commands:
- cd o && make localtime=UTC
-
install-commands:
- cd o && make install_root="$DESTDIR" localtime=UTC install
- sh stage2-glibc-fix-specs
-
-# Install a symlink for the program interpreter (ld.so) so that binaries
-# built in stage 3 before the stage 3 glibc is built can use it.
-# FIXME: get a better way of finding the name of the loader. The lib64
-# path is hardcoded into glibc in the file
-# sysdeps/unix/sysv/linux/configure.
- install -d $DESTDIR/lib
- |
cpu=$(echo $TARGET | cut -d '-' -f 1)