[PATCH 00/24] Update kbuild

Ilias Apalodimas ilias.apalodimas at linaro.org
Fri May 30 16:50:59 CEST 2025


Thanks Tom.

I got another (shorter) series, that I'll send later today. Once this
is reviewed/applied I got a single patch that brings on par with 5.1.
Then bumping to 6.x should be easier.

/Ilias

On Fri, 30 May 2025 at 17:45, Tom Rini <trini at konsulko.com> wrote:
>
> On Tue, 20 May 2025 08:21:11 +0300, Ilias Apalodimas wrote:
>
> > Last time the kbuild scripts were synced with the Linux kernel was on the
> > 4.20 release. Updating directly to 6.x makes the diff difficult to read, so
> > let's do the changes incrementally and bump to 5.1 first.
> >
> > Since the number of comits is bug, I am splitting this in multiple series.
> > This one includes most of the commits for Makefile.build,
> > Makefile.lib and some from Makefile.
> >
> > [...]
>
> Applied to u-boot/next, thanks!
>
> [01/24] kbuild: de-duplicate fixdep usage
>         commit: afba83ad89d5b17fc49f47df3a8c031a23815d1a
> [02/24] kbuild: disable dtc simple_bus_reg warnings by default
>         commit: 31811fbb6b164ad7be63cb34146a63334b3689b8
> [03/24] kbuild: Enable dtc graph_port warning by default
>         commit: 1ecfa813bb2d8793e80f55278fea293e2329353b
> [04/24] kbuild: remove redundant 'set -e' from filechk_offsets
>         commit: 14795eba8bb3e138314d10313e95cc0862f98736
> [05/24] kbuild: remove redundant target cleaning on failure
>         commit: cfccf25100c26cb98d537106f0756363cb0647c6
> [06/24] kbuild: skip 'addtree' and 'flags' magic for external module build
>         commit: 3d21332c2f3e299836fc55d69887aa88168ac567
> [07/24] kbuild: simplify rules of data compression with size appending
>         commit: 39160c5fbf7b724b4113a8918b9fa3790d080a5c
> [08/24] kbuild: add real-prereqs shorthand for $(filter-out FORCE, $^)
>         commit: a73c41c398a1cbbe9aa7ffb644729e6cf7595845
> [09/24] kbuild: remove unnecessary in-subshell execution
>         commit: 603a4ade16069851b6005591426e36edd9c465cc
> [10/24] kbuild: move archive command to scripts/Makefile.lib
>         commit: 47a4770c7a2f6dab7ada9ba77b12bd41939db551
> [11/24] kbuild: let fixdep directly write to .*.cmd files
>         commit: cc571e29a8ecbba909cbb04ba062db026f70ae8b
> [12/24] kbuild: remove redundant 'set -e' from sub_cmd_record_mcount
>         commit: 2c180949ec3e924020edbff00884f206e120b028
> [13/24] kbuild: refactor modversions build rules
>         commit: 3679f24373d609b59e6434afb5253fd8c7af730a
> [14/24] kbuild: change if_changed_rule for multi-line recipe
>         commit: daf8f5af4c9e542ac75b2ddf7f2831b73833b49d
> [15/24] kbuild: remove trailing semicolon from cmd_* passed to if_changed_rule
>         commit: 82f75d890d7af1cecd30e6e9f675889b915e68ed
> [16/24] kbuild: remove redundant 'set -e' from cmd_* defines
>         commit: 919bd66ca8c966a30448d8befc7b59d58ba8d22d
> [17/24] kbuild: remove redundant quiet_modtag for $(obj-m)
>         commit: 47b6ab973728bd99247c1bc31d9608304417dd9b
> [18/24] kbuild: refactor quiet_modtag
>         commit: 88067ffc0c6f8c4f5142a1f8d08a206f3ed49083
> [19/24] kbuild: generate modules.order only when CONFIG_MODULES=y
>         commit: 1a59e6d3ba8a2f63a27a1e69286affd0bdc66dbf
> [20/24] kbuild: hardcode genksyms path and remove GENKSYMS variable
>         commit: bb08767f12795ba72a93948aa2b5477ad548c511
> [21/24] kbuild: strip whitespace in cmd_record_mcount findstring
>         commit: 25ab30f1c46efc8d2c11b01013449c09815a3f65
> [22/24] kbuild: remove unused archmrproper
>         commit: 0719c79e09de41aaba0ee5d86dcd578828d4aad3
> [23/24] kbuild: make -r/-R effective in top Makefile for old Make versions
>         commit: af1a9935708a30614e3dbf4a33e5fe90e846f598
> [24/24] kbuild: add -Werror=strict-prototypes flag unconditionally
>         commit: 0128b2cf4da8bd69c695d56743a666faf159d2d5
> --
> Tom
>
>


More information about the U-Boot mailing list