aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/make.gcc-armv6hf-cross.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/make.gcc-armv6hf-cross.sh')
-rwxr-xr-xscripts/make.gcc-armv6hf-cross.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/make.gcc-armv6hf-cross.sh b/scripts/make.gcc-armv6hf-cross.sh
new file mode 100755
index 00000000..406e5241
--- /dev/null
+++ b/scripts/make.gcc-armv6hf-cross.sh
@@ -0,0 +1,11 @@
+#! /bin/sh
+
+SDIR=`dirname $0`
+CDIR=$SDIR/../cmake
+
+PATH=$SDIR/arm-linux-gnueabihf/bin:$PATH
+export PATH
+
+cmake .. -DCMAKE_TOOLCHAIN_FILE=$CDIR/toolchain.gcc-armv6hf.cmake
+make
+