summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-02-28 10:05:12 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-02-28 10:05:12 +0000
commit44ada22921f60c55eb2ef6eeb55fdaf590d723db (patch)
treed2bf7161d82115367103fec5036a281b31dcc59d
parentc32721715b3fbeb0d8c9cbb0574fb58179293f5e (diff)
downloaddefinitions-44ada22921f60c55eb2ef6eeb55fdaf590d723db.tar.gz
fix gcc?
-rw-r--r--strata/build-essential/gcc.morph2
-rw-r--r--strata/build-essential/stage1-gcc.morph2
-rw-r--r--strata/build-essential/stage2-gcc.morph2
3 files changed, 6 insertions, 0 deletions
diff --git a/strata/build-essential/gcc.morph b/strata/build-essential/gcc.morph
index b4e25e71..c861787b 100644
--- a/strata/build-essential/gcc.morph
+++ b/strata/build-essential/gcc.morph
@@ -40,6 +40,8 @@ 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/--host=none/--host=armv6a/" o/Makefile
+ sed -i "s/--target=none/--target=armv6a/" o/Makefile ;;
esac
cd o && make
diff --git a/strata/build-essential/stage1-gcc.morph b/strata/build-essential/stage1-gcc.morph
index 420b9992..b5c1a26b 100644
--- a/strata/build-essential/stage1-gcc.morph
+++ b/strata/build-essential/stage1-gcc.morph
@@ -77,6 +77,8 @@ 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/--host=none/--host=armv6a/" o/Makefile
+ sed -i "s/--target=none/--target=armv6a/" o/Makefile ;;
esac
cd o && make
diff --git a/strata/build-essential/stage2-gcc.morph b/strata/build-essential/stage2-gcc.morph
index 59194bbd..2a5f0514 100644
--- a/strata/build-essential/stage2-gcc.morph
+++ b/strata/build-essential/stage2-gcc.morph
@@ -60,6 +60,8 @@ 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/--host=none/--host=armv6a/" o/Makefile
+ sed -i "s/--target=none/--target=armv6a/" o/Makefile ;;
esac
export STAGE2_SYSROOT="$(dirname $(pwd))"
cd o && make