diff options
| author | Marc Vertes <mvertes@free.fr> | 2022-02-11 15:18:39 +0100 |
|---|---|---|
| committer | Marc Vertes <mvertes@free.fr> | 2022-02-11 15:18:39 +0100 |
| commit | a70f04dec341ea17772bdebf03867e590126aa5e (patch) | |
| tree | 0ca9215195902d3686a0780a5a30aa0ac3ca82d4 /linux/Makefile | |
| parent | d6a67e794841f6b219b7d65dc964f745b63be6a0 (diff) | |
Add linux source build. Detect inflate command.
Diffstat (limited to 'linux/Makefile')
| -rw-r--r-- | linux/Makefile | 9 |
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 |
