1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-10-01 09:11:59 +03:00

menuconfig: don't generate inconsistencies when ~/.openwrt/defconfig specifies a default target

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13008 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2008-10-18 20:16:59 +00:00
parent 35fbeba812
commit 9d53aabe66

View File

@ -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);