From a70f04dec341ea17772bdebf03867e590126aa5e Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Fri, 11 Feb 2022 15:18:39 +0100 Subject: Add linux source build. Detect inflate command. --- linux/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 linux/Makefile (limited to 'linux/Makefile') 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 -- cgit v1.2.3