Skip to content

Commit

Permalink
kbuild: hide most of targets when running config or mixed targets
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
masahir0y committed Sep 14, 2018
1 parent 0d91bf5 commit 25815cf
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 25815cf

Please sign in to comment.