public inbox for linux-kbuild@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] kbuild: strive to avoid $(shell ...) invocations
@ 2022-11-18 19:53 Masahiro Yamada
  2022-11-18 19:53 ` [PATCH 1/6] kbuild: add test-{le,ge,lt,gt} macros Masahiro Yamada
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Masahiro Yamada @ 2022-11-18 19:53 UTC (permalink / raw)
  To: linux-kbuild; +Cc: linux-kernel, Masahiro Yamada


$(shell ...) forks process(es).
Built-in functions are more efficient.



Masahiro Yamada (6):
  kbuild: add test-{le,ge,lt,gt} macros
  kbuild: make CONFIG_*_VERSION always 6-digit
  kbuild: implement {gcc,clang}-min-version only with built-in functions
  kbuild: add read-file macro
  kconfig: refactor Makefile to reduce process forks
  kbuild: check Make version

 Documentation/kbuild/makefiles.rst          |  6 +--
 Makefile                                    |  9 +++--
 arch/arm/mach-rpc/Kconfig                   |  2 +-
 arch/arm64/Kconfig                          |  4 +-
 arch/mips/vdso/Kconfig                      |  2 +-
 arch/powerpc/Kconfig                        |  2 +-
 arch/riscv/Kconfig                          |  4 +-
 arch/riscv/Makefile                         |  2 +-
 arch/x86/Makefile                           |  2 +-
 drivers/gpu/drm/amd/display/dc/dml/Makefile |  2 +-
 init/Kconfig                                | 18 ++++-----
 lib/Kconfig.debug                           |  6 +--
 lib/Kconfig.kasan                           |  2 +-
 scripts/Kbuild.include                      | 22 +++++++++++
 scripts/Makefile.compiler                   |  6 +--
 scripts/Makefile.modfinal                   |  2 +-
 scripts/Makefile.modinst                    |  2 +-
 scripts/as-version.sh                       |  6 +--
 scripts/cc-version.sh                       |  6 +--
 scripts/kconfig/.gitignore                  |  4 +-
 scripts/kconfig/Makefile                    | 43 +++++++++++----------
 scripts/kconfig/gconf-cfg.sh                |  7 +++-
 scripts/kconfig/mconf-cfg.sh                | 25 ++++++------
 scripts/kconfig/nconf-cfg.sh                | 23 ++++++-----
 scripts/kconfig/qconf-cfg.sh                | 10 +++--
 scripts/ld-version.sh                       |  6 +--
 scripts/remove-stale-files                  |  2 +
 27 files changed, 135 insertions(+), 90 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-11-23 15:06 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-18 19:53 [PATCH 0/6] kbuild: strive to avoid $(shell ...) invocations Masahiro Yamada
2022-11-18 19:53 ` [PATCH 1/6] kbuild: add test-{le,ge,lt,gt} macros Masahiro Yamada
2022-11-18 21:07   ` Masahiro Yamada
2022-11-18 19:53 ` [PATCH 2/6] kbuild: make CONFIG_*_VERSION always 6-digit Masahiro Yamada
2022-11-23 15:05   ` Masahiro Yamada
2022-11-18 19:53 ` [PATCH 3/6] kbuild: implement {gcc,clang}-min-version only with built-in functions Masahiro Yamada
2022-11-18 19:53 ` [PATCH 4/6] kbuild: add read-file macro Masahiro Yamada
2022-11-18 19:53 ` [PATCH 5/6] kconfig: refactor Makefile to reduce process forks Masahiro Yamada
2022-11-18 19:53 ` [PATCH 6/6] kbuild: check Make version Masahiro Yamada

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox