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/cnfexpr.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'scripts/parse_kconfig/cnfexpr.h') diff --git a/scripts/parse_kconfig/cnfexpr.h b/scripts/parse_kconfig/cnfexpr.h index 58ac9c8..c38625a 100644 --- a/scripts/parse_kconfig/cnfexpr.h +++ b/scripts/parse_kconfig/cnfexpr.h @@ -12,13 +12,14 @@ enum cnfexpr_type { }; struct cnfexpr { - enum cnfexpr_type type; + enum cnfexpr_type type; int **exprs; unsigned *sizes; unsigned size; }; -struct cnfexpr *kconfig_cnfexpr(struct symlist *sl, bool nt, struct expr *expr); +struct cnfexpr *kconfig_cnfexpr(struct symlist *sl, bool nt, + struct symbol *sym, struct expr *expr); void cnf_printf(struct cnfexpr *); struct boolexp *printf_original(struct symlist *sl, struct expr *expr); -- cgit v1.2.3