diff options
author | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2014-09-06 08:13:42 +0000 |
---|---|---|
committer | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2015-02-27 23:33:24 +0000 |
commit | 59ced79b43b5e2500abb6a0589cce22a7c692920 (patch) | |
tree | 11eb50ba7dce0b407c7117735756659ce784e4e3 | |
parent | 2af04820da82b9202af9834e4a64eeb66e8ea6a2 (diff) | |
download | definitions-59ced79b43b5e2500abb6a0589cce22a7c692920.tar.gz |
armv6lhf: add suport in gcc
-rw-r--r-- | strata/build-essential/gcc.morph | 6 | ||||
-rw-r--r-- | strata/build-essential/stage1-gcc.morph | 6 | ||||
-rw-r--r-- | strata/build-essential/stage2-gcc.morph | 6 |
3 files changed, 18 insertions, 0 deletions
diff --git a/strata/build-essential/gcc.morph b/strata/build-essential/gcc.morph index 02be4dda..b4e25e71 100644 --- a/strata/build-essential/gcc.morph +++ b/strata/build-essential/gcc.morph @@ -17,7 +17,13 @@ configure-commands: --with-tune=cortex-a9 \ --with-fpu=vfpv3-d16 \ --with-float=hard" ;; + armv7*) ARCH_FLAGS="--with-arch=armv7-a" ;; + + armv6lhf) ARCH_FLAGS="--with-arch=armv6zk \ + --with-cpu=arm1176jzf-s \ + --with-float=hard \ + --with-fpu=vfp" ;; esac cd o && ../configure \ diff --git a/strata/build-essential/stage1-gcc.morph b/strata/build-essential/stage1-gcc.morph index ed85b684..420b9992 100644 --- a/strata/build-essential/stage1-gcc.morph +++ b/strata/build-essential/stage1-gcc.morph @@ -29,7 +29,13 @@ configure-commands: --with-tune=cortex-a9 \ --with-fpu=vfpv3-d16 \ --with-float=hard" ;; + armv7*) ARCH_FLAGS="--with-arch=armv7-a" ;; + + armv6lhf) ARCH_FLAGS="--with-arch=armv6zk \ + --with-cpu=arm1176jzf-s \ + --with-float=hard \ + --with-fpu=vfp" ;; esac cd o && ../configure \ diff --git a/strata/build-essential/stage2-gcc.morph b/strata/build-essential/stage2-gcc.morph index 98f9cfe7..59194bbd 100644 --- a/strata/build-essential/stage2-gcc.morph +++ b/strata/build-essential/stage2-gcc.morph @@ -26,7 +26,13 @@ configure-commands: --with-tune=cortex-a9 \ --with-fpu=vfpv3-d16 \ --with-float=hard" ;; + armv7*) ARCH_FLAGS="--with-arch=armv7-a" ;; + + armv6lhf) ARCH_FLAGS="--with-arch=armv6zk \ + --with-cpu=arm1176jzf-s \ + --with-float=hard \ + --with-fpu=vfp" ;; esac export STAGE2_SYSROOT="$(dirname $(pwd))" export CC="$TARGET_STAGE1-gcc --sysroot=$STAGE2_SYSROOT" |