Linux 6.11: quick 'n' handy kernel building for Arch Linux  

Linux kernel is the prime enabler of the OS - custom ousting now to next level simplicity.

◉Creation of custom packages of mainline kernel
◉Steam Deck's SteamOS is based on Arch Linux
◉Valve will prolly benefit nicely in future for optimizations
◉Proper configuration of initramfs / bootloader
◉API header automatic install
◉Improved uninstall

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ca83c61cb3db964061ea186654bf8e1879589de3

#ArchLinux #Linux #kernel #Kbuild #Git #SteamOS

Merge tag 'kbuild-v6.11' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild - kernel/git/torvalds/linux.git - Linux kernel source tree

I was bitten again by Kbuild:
https://lore.kernel.org/linux-kbuild/rgbi7vgqel5f2vtzeuxykeh7civd6xxbxkohsgwgsond3vwbbv@hebfs24hxzir/T/#u

Hopefully the lords of Make/Linux/Kbuild will know what to do!

#kbuild #linux #make

Question: Adding new kselftest mod build rule resulting on "m2c: command not found"

When the #linux CFLAGS_ #kbuild flag is not working for some base kernel, and then suddenly you find that the format changed since:

commit 54b8ae66ae1a3454a7645d159a482c31cd89ab33
Author: Masahiro Yamada <[email protected]>
Date: Fri Aug 30 13:34:01 2019 +0900

kbuild: change *FLAGS_<basetarget>.o to take the path relative to $(obj)

One more thing to check when compiling out-of-tree modules...

While searching for CFLAGS_REMOVE* #kernel Makefile rule, I found this amazing presentation going even further and explaining the guts of #Kbuild and how kernel is compiled, from the config to the vmlinux. Really good and useful content.

https://events19.linuxfoundation.org/wp-content/uploads/2017/11/A-Dive-into-Kbuild-Cao-Jin-Fujitsu.pdf

Highlights from #kbuild updates merged for #Linux #kernel 6.2:
https://git.kernel.org/torvalds/c/6feb57c2fd7c787aecf2846a535248899e7b70fa #LinuxKernel

- Support zstd-compressed debug info

- Allow W=1 builds to detect objects shared among multiple modules

- Add srcrpm-pkg target to generate a source RPM package

- Raise the minimum supported version of binutils to 2.25

- Print error if GNU Make older than 3.82 is used

kernel/git/torvalds/linux.git - Linux kernel source tree