mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-02-06 19:09:14 +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;
|
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) {
|
for (menu = parent->list; menu; menu = menu->next) {
|
||||||
if (sym && sym_is_choice(sym) &&
|
if (sym && sym_is_choice(sym) &&
|
||||||
|
Loading…
x
Reference in New Issue
Block a user