summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 c861787b..135baa23 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 d029364b..8472d86d 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 2a5f0514..93d4085e 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