aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2018-09-12 15:43:29 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-09-14 21:47:04 +0900
commit25815cf5ffecfb8b54314ee1b7cf14c78681fbb6 (patch)
treec09231cb7c336d178aa4750ccbc0ea1dc9eaa2a8 /Makefile
parent0d91bf584fe55349193afa96a2f36d288f65b218 (diff)
downloadlinux-25815cf5ffecfb8b54314ee1b7cf14c78681fbb6.tar.gz
kbuild: hide most of targets when running config or mixed targets
When mixed/config targets are being processed, the top Makefile does not need to parse the rest of targets. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 4d5c883a98e5..4b76e225fdae 100644
--- a/Makefile
+++ b/Makefile
@@ -1615,9 +1615,6 @@ namespacecheck:
export_report:
$(PERL) $(srctree)/scripts/export_report.pl
-endif #ifeq ($(config-targets),1)
-endif #ifeq ($(mixed-targets),1)
-
PHONY += checkstack kernelrelease kernelversion image_name
# UML needs a little special treatment here. It wants to use the host
@@ -1732,6 +1729,8 @@ ifneq ($(cmd_files),)
include $(cmd_files)
endif
+endif # ifeq ($(config-targets),1)
+endif # ifeq ($(mixed-targets),1)
endif # skip-makefile
PHONY += FORCE