mbox series

[v2,00/13] Update the kbuild system to 5.1

Message ID 20250611202449.2317279-1-ilias.apalodimas@linaro.org
Headers show
Series Update the kbuild system to 5.1 | expand

Message

Ilias Apalodimas June 11, 2025, 8:24 p.m. UTC
Hi all,

Another series backporting and merging patches from Linux 5.1 kbuild.
There is still a gap that I plan to update after this series gets
merged [0]

[0] https://source.denx.de/u-boot/custodians/u-boot-tpm/-/commit/5da099cef04fb5c02dcafab8d1bab8ddc2855765

Changes since v1:
- Rebase on top of next

Ilias Apalodimas (13):
  kbuild: add -fno-PIE flag unconditionally
  kbuild: add -Werror=implicit-int flag unconditionally
  kbuild: use assignment instead of define ... endef for filechk_* rules
  kbuild: clang: choose GCC_TOOLCHAIN_DIR not on LD
  kbuild: use -Werror=implicit-... instead of -Werror-implicit-...
  kbuild: gitignore output directory
  kbuild: remove meaningless prepare2 target
  gcc-9: silence 'address-of-packed-member' warning
  kbuild: do not overwrite .gitignore in output directory
  kbuild: skip parsing pre sub-make code for recursion
  kbuild: mark prepare0 as PHONY to fix external module build
  kbuild: make 'archprepare' depend on 'scripts'
  kbuild: fix single target build for external module

 Makefile                 | 64 ++++++++++++++++++++--------------------
 scripts/Kbuild.include   |  7 ++---
 scripts/kconfig/Makefile |  4 +--
 3 files changed, 36 insertions(+), 39 deletions(-)

--
2.49.0

Comments

Tom Rini June 12, 2025, 2:34 p.m. UTC | #1
On Wed, 11 Jun 2025 23:24:27 +0300, Ilias Apalodimas wrote:

> Another series backporting and merging patches from Linux 5.1 kbuild.
> There is still a gap that I plan to update after this series gets
> merged [0]
> 
> [0] https://source.denx.de/u-boot/custodians/u-boot-tpm/-/commit/5da099cef04fb5c02dcafab8d1bab8ddc2855765
> 
> Changes since v1:
> - Rebase on top of next
> 
> [...]

Applied to u-boot/next, thanks!

[01/13] kbuild: add -fno-PIE flag unconditionally
        commit: 7e81e690d7276283d4a4d988fa47e0965c62c433
[02/13] kbuild: add -Werror=implicit-int flag unconditionally
        commit: 0ebda5f1f0c96679a7d6d365016ca9294a1c5dd9
[03/13] kbuild: use assignment instead of define ... endef for filechk_* rules
        commit: a76fb6981fb502717c7a5b7a601ef5c4c4dc17a0
[04/13] kbuild: clang: choose GCC_TOOLCHAIN_DIR not on LD
        commit: 3991f85e4cdcd721c91d376468e5396504e2199d
[05/13] kbuild: use -Werror=implicit-... instead of -Werror-implicit-...
        commit: c4a52fbb674cce8b85d9a9c62ba718de7803e176
[06/13] kbuild: gitignore output directory
        commit: 156fdc57f7a2d7ab578c8c52c3eb1108d6e0af4e
[07/13] kbuild: remove meaningless prepare2 target
        commit: 931f04a85ad40cc4f96feec1cdd05e0c44cb3bf0
[08/13] gcc-9: silence 'address-of-packed-member' warning
        commit: 057a53b570a6896b9337169645f6b2cc8d0d218c
[09/13] kbuild: do not overwrite .gitignore in output directory
        commit: d1b6489ef11bc89145e9fcf1d0f05d89a934e410
[10/13] kbuild: skip parsing pre sub-make code for recursion
        commit: 27529f1cb02d8a55ce8de594f15a8d9e7aec0bb8
[11/13] kbuild: mark prepare0 as PHONY to fix external module build
        commit: 4a247d1376302ebdb05af3a15a1788b987d53a1a
[12/13] kbuild: make 'archprepare' depend on 'scripts'
        commit: 45acf56e59a38275fcd4662eb005d910f65df4b5
[13/13] kbuild: fix single target build for external module
        commit: 070b81458aec02f0cde69f87b28fa82c5bb8e906