summaryrefslogtreecommitdiff
path: root/strata/armv7lhf-cross-toolchain/armv7lhf-cross-glibc.morph
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2017-11-26 23:39:48 +0000
committerJavier Jardón <jjardon@gnome.org>2017-12-12 15:58:23 +0000
commit7df7f3b427739ff7d69da2ba218da0124822892c (patch)
tree843c75e9bede53862ab101d6a7bcd1da15a33c55 /strata/armv7lhf-cross-toolchain/armv7lhf-cross-glibc.morph
parent7aad5150f69da42b84994c353283db5daf8e967f (diff)
downloaddefinitions-7df7f3b427739ff7d69da2ba218da0124822892c.tar.gz
Remove all .morph files and files from the old format
Diffstat (limited to 'strata/armv7lhf-cross-toolchain/armv7lhf-cross-glibc.morph')
-rw-r--r--strata/armv7lhf-cross-toolchain/armv7lhf-cross-glibc.morph51
1 files changed, 0 insertions, 51 deletions
diff --git a/strata/armv7lhf-cross-toolchain/armv7lhf-cross-glibc.morph b/strata/armv7lhf-cross-toolchain/armv7lhf-cross-glibc.morph
deleted file mode 100644
index 2a692c38..00000000
--- a/strata/armv7lhf-cross-toolchain/armv7lhf-cross-glibc.morph
+++ /dev/null
@@ -1,51 +0,0 @@
-name: armv7lhf-cross-glibc
-kind: chunk
-
-configure-commands:
-- mkdir o
-
-# Configure flag notes:
-# 1. Location of linux-api-headers, needed since glibc doesn't
-# support being given a sysroot.
-# 2. Location of binutils, since we build binutils for the final
-# target triplet, but our gcc of our stage 1 target triplet.
-# 3. Normal flags. See strata/build-essential/glibc.morph.
-# 4. Force configuration values of certain things that can't be detected
-# in a cross-compile.
-- |
- export MORPH_ARCH=armv7lhf
- export TARGET=armv7lhf-baserock-linux-gnueabi
- export TARGET_STAGE1=armv7lhf-none-linux-gnueabi
-
- export CFLAGS="-O2 $CFLAGS"
-
- # glibc looks for $TARGET-gcc, but not $TARGET_STAGE1-gcc even
- # though --build is specified, so we have to override what gcc to
- # use here.
- export CC="$TARGET_STAGE1-gcc"
-
- case "$MORPH_ARCH" in
- armv7*)
- ARCH_FLAGS="--without-fp" ;;
- esac
-
- cd o && ../configure \
- $ARCH_FLAGS \
- --build=$TARGET_STAGE1 --host=$TARGET \
- --prefix="$PREFIX" \
- `# [1]` --with-headers="$PREFIX/$TARGET/sys-root/$PREFIX/include" \
- `# [2]` --with-binutils="$PREFIX/$TARGET/bin" \
- `# [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:
-- |
- # glibc doesn't help with sysroots, so we need to spell out the
- # full path ourselves.
- export TARGET=armv7lhf-baserock-linux-gnueabi
- cd o && make install_root="$DESTDIR/$PREFIX/$TARGET/sys-root/" \
- localtime=UTC install