From 2d9ad83a3d62ae83b3ea14266014d9b50148ad2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Fri, 24 Apr 2015 22:09:30 +0200 Subject: parse_kconfig fix wrong behaviour for non prompt symbols Non prompt symbols should be selected always as their dependencies are satisfied. This changes adds generation of relevant rules. --- scripts/parse_kconfig/symlist.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scripts/parse_kconfig/symlist.h') diff --git a/scripts/parse_kconfig/symlist.h b/scripts/parse_kconfig/symlist.h index 801624c..99d9bfb 100644 --- a/scripts/parse_kconfig/symlist.h +++ b/scripts/parse_kconfig/symlist.h @@ -8,6 +8,7 @@ struct symlist_el { unsigned int id; char *name; + bool prompt; struct cnfexpr *be; struct cnfexpr *re_be; // forward dependency }; @@ -18,6 +19,7 @@ struct symlist { struct symlist *symlist_create(); void symlist_add(struct symlist *sl, char *name); +void symlist_set_prompt(struct symlist *sl, char *name, bool prompt); struct symlist_el *symlist_find(struct symlist *sl, char *name); void symlist_print(struct symlist *sl); void symlist_free(struct symlist *sl); -- cgit v1.2.3