aboutsummaryrefslogtreecommitdiff
path: root/ryuglab_scripts/30-compile
diff options
context:
space:
mode:
Diffstat (limited to 'ryuglab_scripts/30-compile')
-rwxr-xr-xryuglab_scripts/30-compile12
1 files changed, 12 insertions, 0 deletions
diff --git a/ryuglab_scripts/30-compile b/ryuglab_scripts/30-compile
new file mode 100755
index 0000000..29da38a
--- /dev/null
+++ b/ryuglab_scripts/30-compile
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+set -e
+
+cd ../linux
+
+export ARCH=powerpc
+export CROSS_COMPILE=/opt/OSELAS.Toolchain-2012.12.1/powerpc-603e-linux-gnu/gcc-4.7.2-glibc-2.16.0-binutils-2.22-kernel-3.6-sanitized/bin/powerpc-603e-linux-gnu-
+
+test -t 0 || CHRONIC=chronic
+
+$CHRONIC make -j$(nproc) uImage