You are not logged in.
Pages: 1
Hello, i don't know if something like this exist or if does not exist just because there is no need of it...
In the past I tried to compile kernel to myself, reading some guides
I failed many times but i win some other ones
Now i am using the pre-compiled standard, and i suppose this is the most used method
But i always got in my mind the idea of Why nobody created a tool to "simple" compile it ?
I know, the Linux Kernel is not SIMPLE, but i mean a easy way to compile it from the source, based on the hardware of the machine in use.
I mean something like this
https://i.postimg.cc/JzFQ2Bp7/kernel.png
Mod Edit - Replaced oversized image with link.
CoC - Pasting pictures and code
Last edited by Slithery (2023-02-01 18:02:16)
Offline
Please either just link to your example screen or make a thumbnail
That exists, it's called menuconfig and is already part of the kernel. As for actual out of tree patches to streamline this, if you already have to do that kind of work it is much easier to just have a config file that sets these things up relevantly, look at e.g. how linux-tkg does it for example. And compiling a kernel only tailored to "your current hardware" will almost certainly leave you stranded if you get a new device and want to use it. And the target audience of such a tool would quickly become incredibly annoying to support for whoever does this, while the other side of the fence will just use the tools that are already present.
If you misconfigure anything here you are most likely to create more problems than you are solving
Offline
That exists, it's called menuconfig and is already part of the kernel
Hey @v1del, can you confirm that's the only tool in which users can immediately jump to desired CONFIG_ options by pressing the relevant proposed numbers-shortcuts (inside the Search Panel triggered by pressing / [forward-slash] on the keyboard)?
<49,17,III,I> Fama di loro il mondo esser non lassa;
<50,17,III,I> misericordia e giustizia li sdegna:
<51,17,III,I> non ragioniam di lor, ma guarda e passa.
Offline
a easy way to compile it from the source, based on the hardware of the machine in use
make localmodconfigCreate a config based on current config and loaded modules (lsmod). Disables any module option that is not needed for the loaded modules.
https://www.kernel.org/doc/Documentatio … README.rst
Use modprobed-db to make sure all needed modules are included.
Jin, Jîyan, Azadî
Offline
What benefits do you hope to gain from compiling your own kernel specific to your hardware? There is very rarely any real performance benefit (unless you build all needed modules and boot without an initramfs). The primary benefit of compiling your own kernel(s) is the learning experience. If you use a tool that handles everything most of this for you, you are not getting that learning experience, and so then what's the point?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Pages: 1