From: Michael Tremer Date: Sun, 11 Dec 2011 11:29:54 +0000 (+0100) Subject: Enable build for armv5tel on armv7l. X-Git-Url: http://git.ipfire.org/?p=people%2Fteissler%2Fipfire-2.x.git;a=commitdiff_plain;h=5e3aa60749506205f13c6db588930de61e84f46f;hp=b848d53c8471748c751e1f00cd886ddb9ca0cb02 Enable build for armv5tel on armv7l. --- diff --git a/tools/make-functions b/tools/make-functions index 144411cd3..a55f29cf7 100644 --- a/tools/make-functions +++ b/tools/make-functions @@ -225,7 +225,7 @@ if [ 'x86_64' = $MACHINE -o 'i686' = $MACHINE -o 'i586' = $MACHINE ]; then CXXFLAGS="-O2 -march=i586 -pipe -fomit-frame-pointer" C2FLAGS="-O2 -march=i586 -mtune=i586 -pipe -fomit-frame-pointer" CXX2FLAGS="-O2 -march=i586 -mtune=i586 -pipe -fomit-frame-pointer" -elif [ 'armv5tejl' = $MACHINE -o 'armv5tel' = $MACHINE ]; then +elif [ 'armv5tejl' = $MACHINE -o 'armv5tel' = $MACHINE -o 'armv7l' = $MACHINE ]; then echo "`date -u '+%b %e %T'`: Machine is ARM (or equivalent)" >> $LOGFILE MACHINE=armv5tel MACHINE_TYPE=arm @@ -235,7 +235,7 @@ elif [ 'armv5tejl' = $MACHINE -o 'armv5tel' = $MACHINE ]; then C2FLAGS="$CFLAGS" CXX2FLAGS="$CXXFLAGS" else - echo "`date -u '+%b %e %T'`: Can't determine your architecture - $MACHINE" >> $LOGFILE + echo "`date -u '+%b %e %T'`: Can't determine your architecture - $MACHINE" exit 1 fi