[PATCH] kbuild: be more explicit on missing .config file

From: Randy Dunlap
Date: Thu Apr 05 2007 - 00:57:38 EST


From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

Somewhat in reponse to kernel bugzilla #8197, be more explicit about
why 'make all' fails when there is no .config file.

Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
---
scripts/kconfig/conf.c | 1 +
1 file changed, 1 insertion(+)

--- linux-2621-rc5g6.orig/scripts/kconfig/conf.c
+++ linux-2621-rc5g6/scripts/kconfig/conf.c
@@ -558,6 +558,7 @@ int main(int ac, char **av)
if (stat(".config", &tmpstat)) {
printf(_("***\n"
"*** You have not yet configured your kernel!\n"
+ "*** (missing kernel .config file)\n"
"***\n"
"*** Please run some configurator (e.g. \"make oldconfig\" or\n"
"*** \"make menuconfig\" or \"make xconfig\").\n"
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/