scripts/Makefile.clean: Make Kbuild and Makefile optional
No binary (build failed)
—
(log yok)
| @@ -14,7 +14,7 @@ clean := -f $(if $(KBUILD_SRC),$(srctree)/)scripts/Makefile.clean obj | |
| # The filename Kbuild has precedence over Makefile | |
| kbuild-dir := $(if $(filter /%,$(src)),$(src),$(srctree)/$(src)) | |
| - | include $(if $(wildcard $(kbuild-dir)/Kbuild), $(kbuild-dir)/Kbuild, $(kbuild-dir)/Makefile) |
| + | -include $(if $(wildcard $(kbuild-dir)/Kbuild), $(kbuild-dir)/Kbuild, $(kbuild-dir)/Makefile) |
| # Figure out what we need to build from the various variables | |
| # ========================================================================== | |