Tiny Core Linux
General TC => General TC Talk => Topic started by: HoerMirAuf on June 08, 2022, 01:09:38 PM
-
Hi Volks ...
i can't find any linux-kernel-sources-env package in TC13 ... is there no one?
How to compile a Kernel Module without that?
-
You can prepare the kernel source manually.
Search the forum on “prepare kernel source”
-
Hi HoerMirAuf
Based on this answer by Juanito:
http://forum.tinycorelinux.net/index.php/topic,24946.msg158828.html#msg158828
Download:
http://tinycorelinux.net/13.x/x86_64/release/src/kernel/linux-5.15.10-patched.txz
http://tinycorelinux.net/13.x/x86_64/release/src/kernel/config-5.15.10-tinycore64
Then:
$ tar -xf linux-5.15.10-patched.txz
$ cd linux-5.15.10
$ make mrproper
$ cp ../config-5.15.10-tinycore64 .config
$ make oldconfig
$ make prepare
$ make modules_prepare