summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-02-28 10:58:07 (GMT)
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-02-28 10:58:07 (GMT)
commitdb91957dce9056dbe3d30142396d683c0700f087 (patch)
treec665937c5fde592e7d145adc686df1aeea248475
parent4ae23d0541960e39117c58d89f573fdb49a467db (diff)
downloaddefinitions-baserock/pedroalvarez/rpi.tar.gz
-rw-r--r--strata/build-essential/gcc.morph3
-rw-r--r--strata/build-essential/stage1-gcc.morph2
-rw-r--r--strata/build-essential/stage2-gcc.morph3
3 files changed, 3 insertions, 5 deletions
diff --git a/strata/build-essential/gcc.morph b/strata/build-essential/gcc.morph
index c861787..135baa2 100644
--- a/strata/build-essential/gcc.morph
+++ b/strata/build-essential/gcc.morph
@@ -40,8 +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/--host=none/--host=armv6a/" o/Makefile
- sed -i "s/--target=none/--target=armv6a/" o/Makefile ;;
+ armv6*) sed -i "s/none-/armv6a-/" o/Makefile ;;
esac
cd o && make
diff --git a/strata/build-essential/stage1-gcc.morph b/strata/build-essential/stage1-gcc.morph
index d029364..8472d86 100644
--- a/strata/build-essential/stage1-gcc.morph
+++ b/strata/build-essential/stage1-gcc.morph
@@ -78,7 +78,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 ;;
- armv6lhf) sed -i "s/none-/$cpu-/" o/Makefile ;;
+ armv6lhf) sed -i "s/none-/$cpu-/" o/Makefile ;;
esac
cd o && make
diff --git a/strata/build-essential/stage2-gcc.morph b/strata/build-essential/stage2-gcc.morph
index 2a5f051..93d4085 100644
--- a/strata/build-essential/stage2-gcc.morph
+++ b/strata/build-essential/stage2-gcc.morph
@@ -60,8 +60,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/--host=none/--host=armv6a/" o/Makefile
- sed -i "s/--target=none/--target=armv6a/" o/Makefile ;;
+ armv6*) sed -i "s/none-/armv6a-/" o/Makefile ;;
esac
export STAGE2_SYSROOT="$(dirname $(pwd))"
cd o && make