custom compil

Siddh Raman Pant sanganaka at siddh.me
Wed Jan 25 17:22:32 EST 2023


On Thu, 26 Jan 2023 at 03:25:08 +0530, A.Péré wrote:
> Is there a distribution with automated tools to compile a kernel
> with custom config settings

Yes, it is your favourite distro, whichever that may be. You just
need the tools to build, which you may already have, but can be seen
in docs: https://www.kernel.org/doc/html/latest/process/changes.html

> that ils easier and more accessible

If you want a GUI, use `make xconfig`.

> un particular for automated updates with automatic custom compiling config? 

Have your custom config options in a separate file somewhere, and use
scripts/kconfig/merge_config.sh to merge. Example in a script:

        make defconfig
        ./scripts/kconfig/merge_config.sh .config common.config

The script will take care of requisite stuff, which additional options
to enable, etc.

Or you can have your entire config saved in .config, and just run
merge_config.sh everytime you pull newer kernel code.

Thanks,
Siddh



More information about the Kernelnewbies mailing list