Hi Linus, This is v2 for the remaining Kbuild changes. I dropped the "# CONFIG_FOO is not set" to CONFIG_FOO=n change in Kconfig. Thank you. The following changes since commit 754e0b0e35608ed5206d6a67a791563c631cec07: Linux 5.17-rc4 (2022-02-13 12:13:30 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git tags/kbuild-v5.18-v2 for you to fetch changes up to e9c281928c24dfeb86b11c31b53757b6a127f8aa: kbuild: Make $(LLVM) more flexible (2022-03-31 12:03:46 +0900) ---------------------------------------------------------------- Kbuild updates for v5.18 - Add new environment variables, USERCFLAGS and USERLDFLAGS to allow additional flags to be passed to user-space programs. - Fix missing fflush() bugs in Kconfig and fixdep - Fix a minor bug in the comment format of the .config file - Make kallsyms ignore llvm's local labels, .L* - Fix UAPI compile-test for cross-compiling with Clang - Extend the LLVM= syntax to support LLVM=<suffix> form for using a particular version of LLVm, and LLVM=<prefix> form for using custom LLVM in a particular directory path. - Clean up Makefiles ---------------------------------------------------------------- Changbin Du (1): kallsyms: ignore all local labels prefixed by '.L' Elliot Berman (1): kbuild: Add environment variables for userprogs flags Masahiro Yamada (10): kbuild: unify cmd_copy and cmd_shipped kbuild: replace $(if A,A,B) with $(or A,B) kconfig: add fflush() before ferror() check kconfig: fix missing '# end of' for empty menu certs: include certs/signing_key.x509 unconditionally certs: simplify empty certs creation in certs/Makefile usr/include: replace extra-y with always-y arch: syscalls: simplify uapi/kapi directory creation fixdep: use fflush() and ferror() to ensure successful write to files kbuild: add --target to correctly cross-compile UAPI headers with Clang Nathan Chancellor (1): kbuild: Make $(LLVM) more flexible Documentation/kbuild/kbuild.rst | 11 +++++++++++ Documentation/kbuild/llvm.rst | 31 +++++++++++++++++++++++++------ Documentation/kbuild/makefiles.rst | 2 ++ Makefile | 44 ++++++++++++++++++++++++++------------------ arch/alpha/kernel/syscalls/Makefile | 3 +-- arch/arm/tools/Makefile | 3 +-- arch/ia64/kernel/syscalls/Makefile | 3 +-- arch/m68k/kernel/syscalls/Makefile | 3 +-- arch/microblaze/boot/Makefile | 2 +- arch/microblaze/boot/dts/Makefile | 2 +- arch/microblaze/kernel/syscalls/Makefile | 3 +-- arch/mips/kernel/syscalls/Makefile | 3 +-- arch/parisc/kernel/syscalls/Makefile | 3 +-- arch/powerpc/kernel/syscalls/Makefile | 3 +-- arch/s390/kernel/syscalls/Makefile | 3 +-- arch/sh/kernel/syscalls/Makefile | 3 +-- arch/sparc/kernel/syscalls/Makefile | 3 +-- arch/x86/entry/syscalls/Makefile | 3 +-- arch/xtensa/kernel/syscalls/Makefile | 3 +-- certs/Makefile | 37 +++++++++++-------------------------- certs/system_certificates.S | 3 --- fs/unicode/Makefile | 2 +- init/Kconfig | 8 ++++---- scripts/Makefile.build | 3 +-- scripts/Makefile.clean | 2 +- scripts/Makefile.lib | 16 ++++++---------- scripts/basic/fixdep.c | 46 +++++++++++++++++++--------------------------- scripts/kallsyms.c | 2 +- scripts/kconfig/confdata.c | 27 +++++++++++++++------------ tools/bpf/bpftool/Makefile | 4 ++-- tools/build/Makefile | 2 +- tools/counter/Makefile | 2 +- tools/gpio/Makefile | 2 +- tools/hv/Makefile | 2 +- tools/iio/Makefile | 2 +- tools/lib/api/Makefile | 2 +- tools/lib/bpf/Makefile | 2 +- tools/lib/perf/Makefile | 2 +- tools/lib/subcmd/Makefile | 2 +- tools/objtool/Makefile | 2 +- tools/pci/Makefile | 2 +- tools/perf/Makefile.perf | 4 ++-- tools/power/x86/intel-speed-select/Makefile | 2 +- tools/scripts/Makefile.include | 22 ++++++++++++++-------- tools/scripts/utilities.mak | 2 +- tools/spi/Makefile | 6 +++--- tools/testing/selftests/lib.mk | 8 +++++++- tools/tracing/rtla/Makefile | 2 +- tools/usb/Makefile | 2 +- usr/Makefile | 4 ++-- usr/include/Makefile | 7 +++++-- 51 files changed, 188 insertions(+), 174 deletions(-) -- Best Regards Masahiro Yamada