aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/make.gcc-armv6-cross.sh
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-04-23 20:07:58 +0200
committerSven Gothel <[email protected]>2013-04-23 20:07:58 +0200
commit4bc21c454fc0583e249db3f23a3cf7aca72dd61d (patch)
treeee7fbd8a5e3bd84fc27ffd062bb6ab48a41137c3 /scripts/make.gcc-armv6-cross.sh
parent43e1ba37166d7ebdea355c50a60dee9140bcf770 (diff)
Add cmake toolchain files for armv6 (armv5t-softfp) and armv6hf (armv6-hardfp), incl. sym-links to cross compiler
Diffstat (limited to 'scripts/make.gcc-armv6-cross.sh')
-rwxr-xr-xscripts/make.gcc-armv6-cross.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/make.gcc-armv6-cross.sh b/scripts/make.gcc-armv6-cross.sh
new file mode 100755
index 00000000..2eaa1cdf
--- /dev/null
+++ b/scripts/make.gcc-armv6-cross.sh
@@ -0,0 +1,13 @@
+#! /bin/sh
+
+SDIR=`dirname $0`
+CDIR=$SDIR/../cmake
+
+PATH=$SDIR/arm-linux-gnueabi/bin:$PATH
+export PATH
+
+which gcc
+
+cmake .. -DCMAKE_TOOLCHAIN_FILE=$CDIR/toolchain.gcc-armv6.cmake
+make
+