mirror of https://github.com/hak5/openwrt.git
menuconfig: don't generate inconsistencies when ~/.openwrt/defconfig specifies a default target
SVN-Revision: 13008lede-17.01
parent
cd35be21af
commit
fa6b452873
|
@ -230,11 +230,7 @@ int conf_read_file(FILE *in, struct symbol *sym){
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case yes:
|
case yes:
|
||||||
if (cs->user.tri != no) {
|
cs->user.val = sym;
|
||||||
conf_warning("%s creates inconsistent choice state", sym->name);
|
|
||||||
cs->flags |= SYMBOL_NEW;
|
|
||||||
} else
|
|
||||||
cs->user.val = sym;
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
cs->user.tri = E_OR(cs->user.tri, sym->user.tri);
|
cs->user.tri = E_OR(cs->user.tri, sym->user.tri);
|
||||||
|
|
Loading…
Reference in New Issue