Skip to content

Commit 25815cf

Browse files
committed
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 <[email protected]>
1 parent 0d91bf5 commit 25815cf

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Makefile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1615,9 +1615,6 @@ namespacecheck:
16151615
export_report:
16161616
$(PERL) $(srctree)/scripts/export_report.pl
16171617

1618-
endif #ifeq ($(config-targets),1)
1619-
endif #ifeq ($(mixed-targets),1)
1620-
16211618
PHONY += checkstack kernelrelease kernelversion image_name
16221619

16231620
# UML needs a little special treatment here. It wants to use the host
@@ -1732,6 +1729,8 @@ ifneq ($(cmd_files),)
17321729
include $(cmd_files)
17331730
endif
17341731

1732+
endif # ifeq ($(config-targets),1)
1733+
endif # ifeq ($(mixed-targets),1)
17351734
endif # skip-makefile
17361735

17371736
PHONY += FORCE

0 commit comments

Comments
 (0)