diff options
Diffstat (limited to 'scripts/Makefile.build')
-rw-r--r-- | scripts/Makefile.build | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/Makefile.build b/scripts/Makefile.build index ebed6a41bc69..8f4f5a347767 100644 --- a/scripts/Makefile.build +++ b/scripts/Makefile.build | |||
@@ -10,7 +10,9 @@ __build: | |||
10 | # Read .config if it exist, otherwise ignore | 10 | # Read .config if it exist, otherwise ignore |
11 | -include .config | 11 | -include .config |
12 | 12 | ||
13 | include $(if $(wildcard $(obj)/Kbuild), $(obj)/Kbuild, $(obj)/Makefile) | 13 | # The filename Kbuild has precedence over Makefile |
14 | include $(if $(wildcard $(srctree)/$(src)/Kbuild), \ | ||
15 | $(srctree)/$(src)/Kbuild, $(srctree)/$(src)/Makefile) | ||
14 | 16 | ||
15 | include scripts/Kbuild.include | 17 | include scripts/Kbuild.include |
16 | include scripts/Makefile.lib | 18 | include scripts/Makefile.lib |