Skip to content

kbuild: do not quote string values in Makefile

Masahiro Yamada keyrings linux-arch linux-kbuild lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest11 patches 1 replyIn review
  2. v110 patches 8 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11certs: use $< and $@ to simplify the key generation rulecerts/Makefile+2 -30 replies
2/11certs: unify duplicated cmd_extract_certs and improve the logcerts/Makefile+3 -60 replies
3/11certs: remove unneeded -I$(srctree) option for system_certificates.ocerts/Makefile+0 -30 replies
4/11certs: refactor file cleaningMakefile certs/Makefile+6 -50 replies
5/11certs: remove misleading comments about GCC PRcerts/Makefile+0 -20 replies
6/11kbuild: stop using config_filename in scripts/Makefile.modsignscripts/Makefile.modinst+3 -20 replies
7/11certs: simplify $(srctree)/ handling and remove config_filename macrocerts/Makefile scripts/Kbuild.include+13 -660 replies
8/11kbuild: do not include include/config/auto.conf from shell scriptsscripts/gen_autoksyms.sh scripts/link-vmlinux.sh scripts/setlocalversion+31 -360 replies
9/11kbuild: do not quote string values in include/config/auto.confMakefile arch/arc/Makefile arch/arc/boot/dts/Makefile +20 more+28 -560 replies
10/11certs: move scripts/extract-cert to certs/MAINTAINERS certs/.gitignore certs/Makefile +4 more+15 -160 replies
11/11microblaze: use built-in function to get CPU_{MAJOR,MINOR,REV}arch/microblaze/Makefile+3 -30 replies

Reviews trailers per patch

6 of 11 patches have a Reviewed-by or Acked-by.

PatchNicolas Schier
1/11R-b
2/11R-b
3/11
4/11R-b
5/11
6/11R-b
7/11
8/11R-b
9/11
10/11
11/11R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 00/11] kbuild: do not quote string values in Makefile

This patch refactors the code as outlined in:

https://lore.kernel.org/linux-kbuild/CAK7LNAR-VXwHFEJqCcrFDZj+_4+Xd6oynbj_0eS8N504_ydmyw@mail.gmail.com/

First some patches refactor certs/Makefile. This Makefile is written in a too complicated way.

I will revert cd8c917a56f20f48748dd43d9ae3caff51d5b987 after this lands in the upstream.

Masahiro Yamada (11):
certs: use $< and $@ to simplify the key generation rule
certs: unify duplicated cmd_extract_certs and improve the log
certs: remove unneeded -I$(srctree) option for system_certificates.o
certs: refactor file cleaning
certs: remove misleading comments about GCC PR
kbuild: stop using config_filename in scripts/Makefile.modsign
certs: simplify $(srctree)/ handling and remove config_filename macro
kbuild: do not include include/config/auto.conf from shell scripts
kbuild: do not quote string values in include/config/auto.conf
certs: move scripts/extract-cert to certs/
microblaze: use built-in function to get CPU_{MAJOR,MINOR,REV}

 MAINTAINERS                                   |  1 -
 Makefile                                      |  6 +-
 arch/arc/Makefile                             |  4 +-
 arch/arc/boot/dts/Makefile                    |  4 +-
 arch/h8300/boot/dts/Makefile                  |  6 +-
 arch/microblaze/Makefile                      |  8 +--
 arch/nds32/boot/dts/Makefile                  |  7 +--
 arch/nios2/boot/dts/Makefile                  |  2 +-
 arch/openrisc/boot/dts/Makefile               |  7 +--
 arch/powerpc/boot/Makefile                    |  2 +-
 arch/riscv/boot/dts/canaan/Makefile           |  4 +-
 arch/sh/boot/dts/Makefile                     |  4 +-
 arch/xtensa/Makefile                          |  2 +-
 arch/xtensa/boot/dts/Makefile                 |  5 +-
 certs/.gitignore                              |  1 +
 certs/Makefile                                | 55 +++++++------------
 {scripts => certs}/extract-cert.c             |  2 +-
 drivers/acpi/Makefile                         |  2 +-
 drivers/base/firmware_loader/builtin/Makefile |  4 +-
 init/Makefile                                 |  2 +-
 net/wireless/Makefile                         |  4 +-
 scripts/.gitignore                            |  1 -
 scripts/Kbuild.include                        | 47 ----------------
 scripts/Makefile                              | 11 +---
 scripts/Makefile.modinst                      |  4 +-
 scripts/gen_autoksyms.sh                      | 11 +---
 scripts/kconfig/confdata.c                    |  2 +-
 scripts/link-vmlinux.sh                       | 47 ++++++++--------
 scripts/remove-stale-files                    |  2 +
 scripts/setlocalversion                       |  9 ++-
 usr/Makefile                                  |  2 +-
 31 files changed, 87 insertions(+), 181 deletions(-)
 rename {scripts => certs}/extract-cert.c (98%)
Signature · 1 line
2.32.0