mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-18 02:39:46 +00:00
kconfig: fix forward dependencies
In case a set of options are conditional to two different paths, the forward dependencies in these options is wrong, but in the first path. Fix by Arnaud Lacombe on linux-kbuild ML: http://www.spinics.net/lists/linux-kbuild/msg04832.html Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
This commit is contained in:
parent
93b6fd5032
commit
d855275562
@ -361,7 +361,7 @@ void menu_finalize(struct menu *parent)
|
||||
last_menu->next = NULL;
|
||||
}
|
||||
|
||||
sym->dir_dep.expr = parent->dep;
|
||||
sym->dir_dep.expr = expr_alloc_or(sym->dir_dep.expr, parent->dep);
|
||||
}
|
||||
for (menu = parent->list; menu; menu = menu->next) {
|
||||
if (sym && sym_is_choice(sym) &&
|
||||
|
Loading…
Reference in New Issue
Block a user