aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2021-05-12 17:52:29 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2021-05-12 17:54:45 +0200
commit213c7797db29fcebada3554695798fb30096a7c7 (patch)
tree787f6d0baa7e5a03f42428850b14f77ff5a0f44d
parent3a9d3dde6f941dc7988ef9af7c4704e733fd4217 (diff)
downloadlinux-backports-dtc-redundant-yyloc-declaration/v4.16-rc1.tar.gz
linux-backports-dtc-redundant-yyloc-declaration/v4.16-rc1.tar.bz2
linux-backports-dtc-redundant-yyloc-declaration/v4.16-rc1.zip
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rwxr-xr-xbuild.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/build.sh b/build.sh
new file mode 100755
index 000000000000..fd8b156fd7ea
--- /dev/null
+++ b/build.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+ncores=$(grep processor /proc/cpuinfo | wc -l)
+njobs=$(expr ${ncores} + 1)
+
+export ARCH=arm
+export CROSS_COMPILE=arm-linux-gnueabi-
+
+git clean -dfx
+make clean
+make allnoconfig
+time make -j${njobs}