mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
0d91bf584f
commit
25815cf5ff
5
Makefile
5
Makefile
|
@ -1615,9 +1615,6 @@ namespacecheck:
|
||||||
export_report:
|
export_report:
|
||||||
$(PERL) $(srctree)/scripts/export_report.pl
|
$(PERL) $(srctree)/scripts/export_report.pl
|
||||||
|
|
||||||
endif #ifeq ($(config-targets),1)
|
|
||||||
endif #ifeq ($(mixed-targets),1)
|
|
||||||
|
|
||||||
PHONY += checkstack kernelrelease kernelversion image_name
|
PHONY += checkstack kernelrelease kernelversion image_name
|
||||||
|
|
||||||
# UML needs a little special treatment here. It wants to use the host
|
# UML needs a little special treatment here. It wants to use the host
|
||||||
|
@ -1732,6 +1729,8 @@ ifneq ($(cmd_files),)
|
||||||
include $(cmd_files)
|
include $(cmd_files)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
endif # ifeq ($(config-targets),1)
|
||||||
|
endif # ifeq ($(mixed-targets),1)
|
||||||
endif # skip-makefile
|
endif # skip-makefile
|
||||||
|
|
||||||
PHONY += FORCE
|
PHONY += FORCE
|
||||||
|
|
Loading…
Reference in New Issue