diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2014-10-02 10:55:23 +0100 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2014-10-02 10:55:23 +0100 |
commit | 6d4a0ec6caa5a1f1f1a73a7a8bd061889cf06299 (patch) | |
tree | 6a0928e1aadf2527e16d2ead1a571bfa7da19c71 /strata/armv7lhf-cross-toolchain/armv7lhf-cross-eglibc.morph | |
parent | d107a96317a05ec3238ff7bce94cd6cbf12398bf (diff) | |
parent | e9dbfdc623101442370d51525e8cdbe3867eab02 (diff) | |
download | definitions-6d4a0ec6caa5a1f1f1a73a7a8bd061889cf06299.tar.gz |
Merge branch 'baserock/sam/build-essential-comments'
Reviewed-By: Pedro Alvarez <pedro.alvarez@codethink.co.uk>
Reviewed-By: Richard Maw <richard.maw@codethink.co.uk>
Diffstat (limited to 'strata/armv7lhf-cross-toolchain/armv7lhf-cross-eglibc.morph')
-rw-r--r-- | strata/armv7lhf-cross-toolchain/armv7lhf-cross-eglibc.morph | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/strata/armv7lhf-cross-toolchain/armv7lhf-cross-eglibc.morph b/strata/armv7lhf-cross-toolchain/armv7lhf-cross-eglibc.morph index afbfa939..ee28c9dd 100644 --- a/strata/armv7lhf-cross-toolchain/armv7lhf-cross-eglibc.morph +++ b/strata/armv7lhf-cross-toolchain/armv7lhf-cross-eglibc.morph @@ -1,8 +1,20 @@ name: armv7lhf-cross-eglibc kind: chunk + configure-commands: - mkdir o + +# Necessary for ARM port - cd libc && ln -s ../ports ports + +# Configure flag notes: +# 1. Location of linux-api-headers, needed since eglibc 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 eglibc.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 @@ -22,8 +34,10 @@ configure-commands: --enable-add-ons=nptl,ports --without-cvs --without-selinux \ `# [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: - | # eglibc doesn't help with sysroots, so we need to spell out the |