diff options
Diffstat (limited to 'scripts/Makefile.clean')
-rw-r--r-- | scripts/Makefile.clean | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/Makefile.clean b/scripts/Makefile.clean index ff3e87dbf387..9c978b7bbdf1 100644 --- a/scripts/Makefile.clean +++ b/scripts/Makefile.clean | |||
@@ -7,7 +7,9 @@ src := $(obj) | |||
7 | .PHONY: __clean | 7 | .PHONY: __clean |
8 | __clean: | 8 | __clean: |
9 | 9 | ||
10 | include $(if $(wildcard $(obj)/Kbuild), $(obj)/Kbuild, $(obj)/Makefile) | 10 | # The filename Kbuild has precedence over Makefile |
11 | include $(if $(wildcard $(srctree)/$(src)/Kbuild), \ | ||
12 | $(srctree)/$(src)/Kbuild, $(srctree)/$(src)/Makefile) | ||
11 | 13 | ||
12 | # Figure out what we need to build from the various variables | 14 | # Figure out what we need to build from the various variables |
13 | # ========================================================================== | 15 | # ========================================================================== |