From 4bc21c454fc0583e249db3f23a3cf7aca72dd61d Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 23 Apr 2013 20:07:58 +0200 Subject: Add cmake toolchain files for armv6 (armv5t-softfp) and armv6hf (armv6-hardfp), incl. sym-links to cross compiler --- scripts/make.gcc-armv6-cross.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 scripts/make.gcc-armv6-cross.sh (limited to 'scripts/make.gcc-armv6-cross.sh') 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 + -- cgit v1.2.3