aboutsummaryrefslogtreecommitdiff
path: root/ryuglab_scripts/30-compile
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2015-08-13 15:53:06 +0200
committerKarel Kočí <cynerd@email.cz>2015-08-13 15:53:06 +0200
commitb6abf4e8fe0c3b40305dfdd0410abfbf3c804874 (patch)
tree0e63a8695c793e79ba1b64b6674002c02f514040 /ryuglab_scripts/30-compile
parenta8c91e078ccb3780a53748cc52b7974bfc65b636 (diff)
parent72316e351df5159384d70faa708224ff2fcc8dd2 (diff)
downloadlinux-conf-perf-b6abf4e8fe0c3b40305dfdd0410abfbf3c804874.tar.gz
linux-conf-perf-b6abf4e8fe0c3b40305dfdd0410abfbf3c804874.tar.bz2
linux-conf-perf-b6abf4e8fe0c3b40305dfdd0410abfbf3c804874.zip
Merge branch 'measuring'
Removing measuring branch. Idea was to make measuring configuration separate from master. But keeping changes in master and measuring branch consistent was pain.
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