summaryrefslogtreecommitdiff
path: root/linux/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'linux/Makefile')
-rw-r--r--linux/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/linux/Makefile b/linux/Makefile
new file mode 100644
index 0000000..8b63346
--- /dev/null
+++ b/linux/Makefile
@@ -0,0 +1,9 @@
+version ?= 5.16.9
+host ?= $(shell hostname)
+
+url = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-$(version).tar.xz
+configure_cmd = cp ../config-$(host) .config
+build_cmd = make -j4 Image modules
+install_cmd = sudo make modules_install && scp arch/arm64/boot/Image m1:.vm/$(host)
+
+include ../build.mk