From 2b4cacd26fc82e93c0578a0cb556f674e9d97858 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Sat, 13 Nov 2010 12:02:01 +0100 Subject: [PATCH] Add a message that the toolchain can't build on ipfire. --- make.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/make.sh b/make.sh index 4c7be21a6c..4bec05b9bf 100755 --- a/make.sh +++ b/make.sh @@ -234,9 +234,12 @@ prepareenv() { } buildtoolchain() { - if [ "$MACHINE" = "x86_64" ]; then + if [ "$(uname -m)" = "x86_64" ]; then exiterror "Cannot build toolchain on x86_64. Please use the download." fi + if [ "$(uname -r | grep ipfire)" ]; then + exiterror "Cannot build toolchain on ipfire. Please use the download." + fi LOGFILE="$BASEDIR/log/_build.toolchain.log" export LOGFILE -- 2.39.2