diff options
author | Sven Gothel <[email protected]> | 2013-04-23 20:07:58 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-04-23 20:07:58 +0200 |
commit | 4bc21c454fc0583e249db3f23a3cf7aca72dd61d (patch) | |
tree | ee7fbd8a5e3bd84fc27ffd062bb6ab48a41137c3 /scripts | |
parent | 43e1ba37166d7ebdea355c50a60dee9140bcf770 (diff) |
Add cmake toolchain files for armv6 (armv5t-softfp) and armv6hf (armv6-hardfp), incl. sym-links to cross compiler
Diffstat (limited to 'scripts')
20 files changed, 42 insertions, 0 deletions
diff --git a/scripts/arm-linux-gnueabi b/scripts/arm-linux-gnueabi new file mode 120000 index 00000000..8b9c9e18 --- /dev/null +++ b/scripts/arm-linux-gnueabi @@ -0,0 +1 @@ +xtools-armsf-linux-gnueabi
\ No newline at end of file diff --git a/scripts/arm-linux-gnueabihf b/scripts/arm-linux-gnueabihf new file mode 120000 index 00000000..cb71826d --- /dev/null +++ b/scripts/arm-linux-gnueabihf @@ -0,0 +1 @@ +xtools-armhf-linux-gnueabi
\ No newline at end of file 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 + 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 + diff --git a/scripts/sys-arm-linux-gnueabi/bin/gcc b/scripts/sys-arm-linux-gnueabi/bin/gcc new file mode 120000 index 00000000..edeaa99b --- /dev/null +++ b/scripts/sys-arm-linux-gnueabi/bin/gcc @@ -0,0 +1 @@ +/usr/bin/arm-linux-gnueabi-gcc
\ No newline at end of file diff --git a/scripts/sys-arm-linux-gnueabi/bin/ld b/scripts/sys-arm-linux-gnueabi/bin/ld new file mode 120000 index 00000000..68f4fae2 --- /dev/null +++ b/scripts/sys-arm-linux-gnueabi/bin/ld @@ -0,0 +1 @@ +/usr/bin/arm-linux-gnueabi-ld
\ No newline at end of file diff --git a/scripts/sys-arm-linux-gnueabi/bin/objdump b/scripts/sys-arm-linux-gnueabi/bin/objdump new file mode 120000 index 00000000..a48d9ee9 --- /dev/null +++ b/scripts/sys-arm-linux-gnueabi/bin/objdump @@ -0,0 +1 @@ +/usr/bin/arm-linux-gnueabi-objdump
\ No newline at end of file diff --git a/scripts/sys-arm-linux-gnueabi/bin/strip b/scripts/sys-arm-linux-gnueabi/bin/strip new file mode 120000 index 00000000..8dab56bf --- /dev/null +++ b/scripts/sys-arm-linux-gnueabi/bin/strip @@ -0,0 +1 @@ +/usr/bin/arm-linux-gnueabi-strip
\ No newline at end of file diff --git a/scripts/sys-arm-linux-gnueabihf/bin/gcc b/scripts/sys-arm-linux-gnueabihf/bin/gcc new file mode 120000 index 00000000..dca59c0f --- /dev/null +++ b/scripts/sys-arm-linux-gnueabihf/bin/gcc @@ -0,0 +1 @@ +/usr/bin/arm-linux-gnueabihf-gcc
\ No newline at end of file diff --git a/scripts/sys-arm-linux-gnueabihf/bin/ld b/scripts/sys-arm-linux-gnueabihf/bin/ld new file mode 120000 index 00000000..bce9f7fb --- /dev/null +++ b/scripts/sys-arm-linux-gnueabihf/bin/ld @@ -0,0 +1 @@ +/usr/bin/arm-linux-gnueabihf-ld
\ No newline at end of file diff --git a/scripts/sys-arm-linux-gnueabihf/bin/objdump b/scripts/sys-arm-linux-gnueabihf/bin/objdump new file mode 120000 index 00000000..ded739ce --- /dev/null +++ b/scripts/sys-arm-linux-gnueabihf/bin/objdump @@ -0,0 +1 @@ +/usr/bin/arm-linux-gnueabihf-objdump
\ No newline at end of file diff --git a/scripts/sys-arm-linux-gnueabihf/bin/strip b/scripts/sys-arm-linux-gnueabihf/bin/strip new file mode 120000 index 00000000..c941465e --- /dev/null +++ b/scripts/sys-arm-linux-gnueabihf/bin/strip @@ -0,0 +1 @@ +/usr/bin/arm-linux-gnueabihf-strip
\ No newline at end of file diff --git a/scripts/xtools-armhf-linux-gnueabi/bin/gcc b/scripts/xtools-armhf-linux-gnueabi/bin/gcc new file mode 120000 index 00000000..ad74056d --- /dev/null +++ b/scripts/xtools-armhf-linux-gnueabi/bin/gcc @@ -0,0 +1 @@ +/usr/local/x-tools/armhf-unknown-linux-gnueabi/bin/armhf-unknown-linux-gnueabi-gcc
\ No newline at end of file diff --git a/scripts/xtools-armhf-linux-gnueabi/bin/ld b/scripts/xtools-armhf-linux-gnueabi/bin/ld new file mode 120000 index 00000000..6d1bd138 --- /dev/null +++ b/scripts/xtools-armhf-linux-gnueabi/bin/ld @@ -0,0 +1 @@ +/usr/local/x-tools/armhf-unknown-linux-gnueabi/bin/armhf-unknown-linux-gnueabi-ld
\ No newline at end of file diff --git a/scripts/xtools-armhf-linux-gnueabi/bin/objdump b/scripts/xtools-armhf-linux-gnueabi/bin/objdump new file mode 120000 index 00000000..9502840a --- /dev/null +++ b/scripts/xtools-armhf-linux-gnueabi/bin/objdump @@ -0,0 +1 @@ +/usr/local/x-tools/armhf-unknown-linux-gnueabi/bin/armhf-unknown-linux-gnueabi-objdump
\ No newline at end of file diff --git a/scripts/xtools-armhf-linux-gnueabi/bin/strip b/scripts/xtools-armhf-linux-gnueabi/bin/strip new file mode 120000 index 00000000..a4ce5087 --- /dev/null +++ b/scripts/xtools-armhf-linux-gnueabi/bin/strip @@ -0,0 +1 @@ +/usr/local/x-tools/armhf-unknown-linux-gnueabi/bin/armhf-unknown-linux-gnueabi-strip
\ No newline at end of file diff --git a/scripts/xtools-armsf-linux-gnueabi/bin/gcc b/scripts/xtools-armsf-linux-gnueabi/bin/gcc new file mode 120000 index 00000000..171bfb69 --- /dev/null +++ b/scripts/xtools-armsf-linux-gnueabi/bin/gcc @@ -0,0 +1 @@ +/usr/local/x-tools/armsf-unknown-linux-gnueabi/bin/armsf-unknown-linux-gnueabi-gcc
\ No newline at end of file diff --git a/scripts/xtools-armsf-linux-gnueabi/bin/ld b/scripts/xtools-armsf-linux-gnueabi/bin/ld new file mode 120000 index 00000000..f10f5b85 --- /dev/null +++ b/scripts/xtools-armsf-linux-gnueabi/bin/ld @@ -0,0 +1 @@ +/usr/local/x-tools/armsf-unknown-linux-gnueabi/bin/armsf-unknown-linux-gnueabi-ld
\ No newline at end of file diff --git a/scripts/xtools-armsf-linux-gnueabi/bin/objdump b/scripts/xtools-armsf-linux-gnueabi/bin/objdump new file mode 120000 index 00000000..8e28b950 --- /dev/null +++ b/scripts/xtools-armsf-linux-gnueabi/bin/objdump @@ -0,0 +1 @@ +/usr/local/x-tools/armsf-unknown-linux-gnueabi/bin/armsf-unknown-linux-gnueabi-objdump
\ No newline at end of file diff --git a/scripts/xtools-armsf-linux-gnueabi/bin/strip b/scripts/xtools-armsf-linux-gnueabi/bin/strip new file mode 120000 index 00000000..1e5fe910 --- /dev/null +++ b/scripts/xtools-armsf-linux-gnueabi/bin/strip @@ -0,0 +1 @@ +/usr/local/x-tools/armsf-unknown-linux-gnueabi/bin/armsf-unknown-linux-gnueabi-strip
\ No newline at end of file |