summaryrefslogtreecommitdiff
path: root/util/kconfig/conf.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/kconfig/conf.c')
-rw-r--r--util/kconfig/conf.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/util/kconfig/conf.c b/util/kconfig/conf.c
index f13c02c52d..8499143571 100644
--- a/util/kconfig/conf.c
+++ b/util/kconfig/conf.c
@@ -827,6 +827,9 @@ int main(int ac, char **av)
break;
}
+ if (conf_errors())
+ exit(1);
+
if (sync_kconfig) {
name = getenv("KCONFIG_NOSILENTUPDATE");
if (name && *name) {
@@ -890,6 +893,9 @@ int main(int ac, char **av)
break;
}
+ if (sym_dep_errors())
+ exit(1);
+
if (input_mode == savedefconfig) {
if (conf_write_defconfig(defconfig_file)) {
fprintf(stderr, "\n*** Error while saving defconfig to: %s\n\n",