Pull Kbuild updates from Masahiro Yamada: - Improve performance in gendwarfksyms - Remove deprecated EXTRA_*FLAGS and KBUILD_ENABLE_EXTRA_GCC_CHECKS - Support CONFIG_HEADERS_INSTALL for ARCH=um - Use more relative paths to sources files for better reproducibility - Support the loong64 Debian architecture - Add Kbuild bash completion - Introduce intermediate vmlinux.unstripped for architectures that need static relocations to be stripped from the final vmlinux - Fix versioning in Debian packages for -rc releases - Treat missing MODULE_DESCRIPTION() as an error - Convert Nios2 Makefiles to use the generic rule for built-in DTB - Add debuginfo support to the RPM package * tag 'kbuild-v6.15' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild: (40 commits) kbuild: rpm-pkg: build a debuginfo RPM kconfig: merge_config: use an empty file as initfile nios2: migrate to the generic rule for built-in DTB rust: kbuild: skip `--remap-path-prefix` for `rustdoc` kbuild: pacman-pkg: hardcode module installation path kbuild: deb-pkg: don't set KBUILD_BUILD_VERSION unconditionally modpost: require a MODULE_DESCRIPTION() kbuild: make all file references relative to source root x86: drop unnecessary prefix map configuration kbuild: deb-pkg: add comment about future removal of KDEB_COMPRESS kbuild: Add a help message for "headers" kbuild: deb-pkg: remove "version" variable in mkdebian kbuild: deb-pkg: fix versioning for -rc releases Documentation/kbuild: Fix indentation in modules.rst example x86: Get rid of Makefile.postlink kbuild: Create intermediate vmlinux build with relocations preserved kbuild: Introduce Kconfig symbol for linking vmlinux with relocations kbuild: link-vmlinux.sh: Make output file name configurable kbuild: do not generate .tmp_vmlinux*.map when CONFIG_VMLINUX_MAP=y Revert "kheaders: Ignore silly-rename files" ...
Showing the changes to scripts/checkpatch.pl (1 of 62 files). Show all
Unified · Split
| @@ -3690,20 +3690,6 @@ sub process { · 3689 unmodified lines | ||
| 3690 | 3690 | } |
| 3691 | 3691 | } |
| 3692 | 3692 | |
| 3693 | − if (($realfile =~ /Makefile.*/ || $realfile =~ /Kbuild.*/) && | |
| 3694 | − ($line =~ /\+(EXTRA_[A-Z]+FLAGS).*/)) { | |
| 3695 | − my $flag = $1; | |
| 3696 | − my $replacement = { | |
| 3697 | − 'EXTRA_AFLAGS' => 'asflags-y', | |
| 3698 | − 'EXTRA_CFLAGS' => 'ccflags-y', | |
| 3699 | − 'EXTRA_CPPFLAGS' => 'cppflags-y', | |
| 3700 | − 'EXTRA_LDFLAGS' => 'ldflags-y', | |
| 3701 | − }; | |
| 3702 | − | |
| 3703 | − WARN("DEPRECATED_VARIABLE", | |
| 3704 | − "Use of $flag is deprecated, please use \`$replacement->{$flag} instead.\n" . $herecurr) if ($replacement->{$flag}); | |
| 3705 | − } | |
| 3706 | − | |
| 3707 | 3693 | # check for DT compatible documentation |
| 3708 | 3694 | if (defined $root && |
| 3709 | 3695 | (($realfile =~ /\.dtsi?$/ && $line =~ /^\+\s*compatible\s*=\s*\"/) || |