From f633a0f1dab8d0337e840e12755d8d4280a4fac1 Mon Sep 17 00:00:00 2001 From: Mihai Tanase <119884187+mihaubuhai@users.noreply.github.com> Date: Sat, 15 Nov 2025 15:53:37 +0200 Subject: [PATCH] make command for new kernel compilation was not complete --- docs/linux_kernel_development/1.empty.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/linux_kernel_development/1.empty.md b/docs/linux_kernel_development/1.empty.md index 55a0bac..8df13dc 100644 --- a/docs/linux_kernel_development/1.empty.md +++ b/docs/linux_kernel_development/1.empty.md @@ -198,7 +198,7 @@ The parameters API in Rust is not yet available in the mainstream kernel. We wil To download this version, please use `git clone --depth 1 https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git`. To compile this version with the same configuration, please copy the `.config` file from the stable kernel folder to -this kernel folder and run `make -jn` where `n` is replaced by the number of cores that your laptop has. +this kernel folder and run `make LLVM=1 -jn` where `n` is replaced by the number of cores that your laptop has. ::: Parameters are defined in the `module!` macro using the `params` filed. @@ -295,4 +295,4 @@ Make sure to export both `$KDIR` and `$INIT_RAM_FS` variables before running the Add two `u8` parameters to the module and print their sum in the init message. Make sure you: - boot the `next` version of the kernel - set the correct `$KDIR` path to the `next` version of the kernel -- run `make rust-analyuzer` with the correct `$KDIR` path pointing to the next version of the kernel +- run `make rust-analyzer` with the correct `$KDIR` path pointing to the next version of the kernel