summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2020-08-12 23:49:23 +0900
committerMasahiro Yamada <masahiroy@kernel.org>2020-08-18 20:16:46 +0900
commitefbf97265f9fc5e1978df6cf0e3df4d5b157f070 (patch)
tree8e3cebd48417c3c6b7241a856a9be941af2dfb8f /Makefile
parent1dbcf46d516b3ab9b114ffcb7b8a55ee5e375523 (diff)
downloadlwn-efbf97265f9fc5e1978df6cf0e3df4d5b157f070.tar.gz
lwn-efbf97265f9fc5e1978df6cf0e3df4d5b157f070.zip
kbuild: remove redundant patterns in filter/filter-out
The '%' in filter/filter-out matches to any number of any characters, including empty string. So, '%config' matches to 'config', and '%install' to 'install'. Drop the redundant patterns. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 9cac6fde3479..c4470a4e131f 100644
--- a/Makefile
+++ b/Makefile
@@ -265,8 +265,7 @@ no-dot-config-targets := $(clean-targets) \
$(version_h) headers headers_% archheaders archscripts \
%asm-generic kernelversion %src-pkg dt_binding_check \
outputmakefile
-no-sync-config-targets := $(no-dot-config-targets) install %install \
- kernelrelease
+no-sync-config-targets := $(no-dot-config-targets) %install kernelrelease
single-targets := %.a %.i %.ko %.lds %.ll %.lst %.mod %.o %.s %.symtypes %/
config-build :=
@@ -292,7 +291,7 @@ ifneq ($(KBUILD_EXTMOD),)
endif
ifeq ($(KBUILD_EXTMOD),)
- ifneq ($(filter config %config,$(MAKECMDGOALS)),)
+ ifneq ($(filter %config,$(MAKECMDGOALS)),)
config-build := 1
ifneq ($(words $(MAKECMDGOALS)),1)
mixed-build := 1