mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-23 21:37:10 +02: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:
parent
35fbeba812
commit
9d53aabe66
@ -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
Block a user