]> rtime.felk.cvut.cz Git - linux-conf-perf.git/commitdiff
parse_kconfig change module decode value
authorKarel Kočí <cynerd@email.cz>
Mon, 4 May 2015 20:47:53 +0000 (22:47 +0200)
committerKarel Kočí <cynerd@email.cz>
Mon, 4 May 2015 20:47:53 +0000 (22:47 +0200)
In case of default value are modules taken as yes in case of boolean.

scripts/parse_kconfig/parse.c

index f8a240169c8edc9e6c31977a9b91adbaf4732c59..1c037ef4070ca0e524eb6a2b38dc4d8dca6f1651 100644 (file)
@@ -128,7 +128,7 @@ void cpy_dep() {
                 Dprintf(" Default value:\n");
                 doutput_expr(prop->expr);
                 struct boolexpr *def =
-                    boolexpr_kconfig(gsymlist, prop->expr, false);
+                    boolexpr_kconfig(gsymlist, prop->expr, true);
                 if (prop->visible.expr != NULL)
                     def =
                         boolexpr_and(def,