WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline HoerMirAuf

  • Newbie
  • *
  • Posts: 10
linux-kernel-sources-env in 13??
« on: June 08, 2022, 10:09:38 AM »
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: 14516
Re: linux-kernel-sources-env in 13??
« Reply #1 on: June 08, 2022, 12:23:52 PM »
You can prepare the kernel source manually.

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

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: linux-kernel-sources-env in 13??
« Reply #2 on: June 08, 2022, 01: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