2023-11-20 19:49:29 +01:00
|
|
|
Make KCONFIG_WERROR more verbose.
|
2019-11-22 16:55:58 +01:00
|
|
|
|
|
|
|
Index: kconfig/confdata.c
|
|
|
|
===================================================================
|
|
|
|
--- kconfig.orig/confdata.c
|
|
|
|
+++ kconfig/confdata.c
|
2023-11-20 19:49:29 +01:00
|
|
|
@@ -533,8 +533,10 @@ load:
|
2019-11-22 16:55:58 +01:00
|
|
|
free(line);
|
|
|
|
fclose(in);
|
2023-11-20 19:49:29 +01:00
|
|
|
|
|
|
|
- if (conf_warnings && werror)
|
|
|
|
+ if (conf_warnings && werror) {
|
2019-11-22 16:55:58 +01:00
|
|
|
+ fprintf(stderr, "\nERROR: %d warnings encountered, and warnings are errors.\n\n", conf_warnings);
|
2023-11-20 19:49:29 +01:00
|
|
|
exit(1);
|
2019-11-22 16:55:58 +01:00
|
|
|
+ }
|
2023-11-20 19:49:29 +01:00
|
|
|
|
2019-11-22 16:55:58 +01:00
|
|
|
return 0;
|
|
|
|
}
|