cpp-git
[cross.git] / debian / arm-linux-gnueabihf-4.9-cross.prepare
diff --git a/debian/arm-linux-gnueabihf-4.9-cross.prepare b/debian/arm-linux-gnueabihf-4.9-cross.prepare
new file mode 100644 (file)
index 0000000..7f9c461
--- /dev/null
@@ -0,0 +1,19 @@
+#!/bin/bash
+set -e
+
+if [ ! -d Downloads ]
+then
+       mkdir Downloads
+fi
+cd Downloads
+
+if [ -d raspberry-tools ]
+then
+       pushd  raspberry-tools >/dev/null
+               git_up
+       popd >/dev/null
+else
+       # clone toolset
+       git clone  https://github.com/raspberrypi/tools raspberry-tools
+fi
+