Message ID | 1536734610-22173-1-git-send-email-yamada.masahiro@socionext.com |
---|---|
State | Accepted |
Commit | 25815cf5ffecfb8b54314ee1b7cf14c78681fbb6 |
Headers | show |
Series | [1/2] kbuild: hide most of targets when running config or mixed targets | expand |
2018-09-12 15:43 GMT+09:00 Masahiro Yamada <yamada.masahiro@socionext.com>: > 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> > --- Applied to linux-kbuild. > Makefile | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > > diff --git a/Makefile b/Makefile > index 4d5c883..4b76e22 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 > -- > 2.7.4 > -- Best Regards Masahiro Yamada
diff --git a/Makefile b/Makefile index 4d5c883..4b76e22 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
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> --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) -- 2.7.4