summaryrefslogtreecommitdiff
path: root/schulung_tools/rootfs_basic/scripts/build_kernel.sh
diff options
context:
space:
mode:
Diffstat (limited to 'schulung_tools/rootfs_basic/scripts/build_kernel.sh')
-rwxr-xr-xschulung_tools/rootfs_basic/scripts/build_kernel.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/schulung_tools/rootfs_basic/scripts/build_kernel.sh b/schulung_tools/rootfs_basic/scripts/build_kernel.sh
new file mode 100755
index 0000000..427a56e
--- /dev/null
+++ b/schulung_tools/rootfs_basic/scripts/build_kernel.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+set -e
+
+export CROSS_COMPILE=/opt/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-
+export ARCH=arm
+
+cd linux-4.15.5
+
+make vexpress_defconfig
+make -j 4 zImage
+make -j 4 modules
+make vexpress-v2p-ca9.dtb