Skip to contentSkip to conversation

Kbuild: Makefile.modbuiltin: include auto.conf and tristate.conf mandatory

PATCH Applied Dirk Gouders 2 participants 2 messages Aug 2, 2018 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Kbuild: Makefile.modbuiltin: include auto.conf and tristate.conf mandatory

The files auto.conf and tristate.conf are mandatory for building modules.builtin files, therefore include them as such.

Usually, the top-level Makefile ensures that those files exist but we want to make sure we get noticed if they are missing for whatever reason.

---
 scripts/Makefile.modbuiltin | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
scripts/Makefile.modbuiltin +2 -2
index 40867a41615b..a072a4267746 100644
@@ -8,10 +8,10 @@ src := $(obj)
 PHONY := __modbuiltin
 __modbuiltin:
 
--include include/config/auto.conf
+include include/config/auto.conf
 # tristate.conf sets tristate variables to uppercase 'Y' or 'M'
 # That way, we get the list of built-in modules in obj-Y
--include include/config/tristate.conf
+include include/config/tristate.conf
 
 include scripts/Kbuild.include
 
Signature · 1 line
2.16.4
#1 lore raw

2018-08-02 22:47 GMT+09:00 Dirk Gouders <[email protected]>:

Quoted 9 lines

The files auto.conf and tristate.conf are mandatory for building modules.builtin files, therefore include them as such.

Usually, the top-level Makefile ensures that those files exist but we want to make sure we get noticed if they are missing for whatever reason.

---

Applied. Thanks!

Quoted 27 lines
 scripts/Makefile.modbuiltin | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
scripts/Makefile.modbuiltin +2 -3
index 40867a41615b..a072a4267746 100644
@@ -8,10 +8,10 @@ src := $(obj)
 PHONY := __modbuiltin
 __modbuiltin:
 
--include include/config/auto.conf
+include include/config/auto.conf
 # tristate.conf sets tristate variables to uppercase 'Y' or 'M'
 # That way, we get the list of built-in modules in obj-Y
--include include/config/tristate.conf
+include include/config/tristate.conf
 
 include scripts/Kbuild.include
 
--

2.16.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 2 lines
Best Regards
Masahiro Yamada