summaryrefslogtreecommitdiff
path: root/strata/build-essential/gcc.morph
diff options
context:
space:
mode:
Diffstat (limited to 'strata/build-essential/gcc.morph')
-rw-r--r--strata/build-essential/gcc.morph7
1 files changed, 7 insertions, 0 deletions
diff --git a/strata/build-essential/gcc.morph b/strata/build-essential/gcc.morph
index 02be4dda..135baa23 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 \
@@ -34,6 +40,7 @@ build-commands:
case "$MORPH_ARCH" in
armv7*) sed -i "s/--host=none/--host=armv7a/" o/Makefile
sed -i "s/--target=none/--target=armv7a/" o/Makefile ;;
+ armv6*) sed -i "s/none-/armv6a-/" o/Makefile ;;
esac
cd o && make