WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: linux-kernel-sources-env in 13??  (Read 1739 times)

Offline HoerMirAuf

  • Newbie
  • *
  • Posts: 10
linux-kernel-sources-env in 13??
« 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?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14794
Re: linux-kernel-sources-env in 13??
« Reply #1 on: June 08, 2022, 03:23:52 PM »
You can prepare the kernel source manually.

Search the forum on “prepare kernel source”
« Last Edit: June 08, 2022, 03:57:26 PM by Juanito »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11581
Re: linux-kernel-sources-env in 13??
« Reply #2 on: June 08, 2022, 04:03:50 PM »
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:
Code: [Select]
$ 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