You are not logged in.

#1 2023-02-01 11:07:38

doomguy84
Member
Registered: 2018-05-09
Posts: 49

Graphical Tool to compile kernel

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

#2 2023-02-01 11:43:16

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,204

Re: Graphical Tool to compile kernel

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

#3 2023-02-01 11:52:52

d.ALT
Member
Registered: 2019-05-10
Posts: 959

Re: Graphical Tool to compile kernel

V1del wrote:

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

#4 2023-02-01 16:54:08

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: Graphical Tool to compile kernel

doomguy84 wrote:

a easy way to compile it from the source, based on the hardware of the machine in use

make localmodconfig
Kernel admin guide wrote:

Create 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

#5 2023-02-01 17:13:23

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: Graphical Tool to compile kernel

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

Board footer

Powered by FluxBB