projects
/
carl9170fw.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kconfig: error out when seeing recursive dependency
[carl9170fw.git]
/
config
/
symbol.c
diff --git
a/config/symbol.c
b/config/symbol.c
index 7c9a88e91cfad95f8fa2e350c2dcccb92981d36f..688f487ff454e629eb9b83dc7c489c56da38cdc0 100644
(file)
--- a/
config/symbol.c
+++ b/
config/symbol.c
@@
-76,15
+76,6
@@
struct property *sym_get_choice_prop(struct symbol *sym)
return NULL;
}
return NULL;
}
-struct property *sym_get_env_prop(struct symbol *sym)
-{
- struct property *prop;
-
- for_all_properties(sym, prop, P_ENV)
- return prop;
- return NULL;
-}
-
static struct property *sym_get_default_prop(struct symbol *sym)
{
struct property *prop;
static struct property *sym_get_default_prop(struct symbol *sym)
{
struct property *prop;
@@
-463,7
+454,7
@@
void sym_calc_value(struct symbol *sym)
}
}
}
}
- if (sym->flags & SYMBOL_
AUTO
)
+ if (sym->flags & SYMBOL_
NO_WRITE
)
sym->flags &= ~SYMBOL_WRITE;
if (sym->flags & SYMBOL_NEED_SET_CHOICE_VALUES)
sym->flags &= ~SYMBOL_WRITE;
if (sym->flags & SYMBOL_NEED_SET_CHOICE_VALUES)
@@
-1257,9
+1248,6
@@
struct symbol *sym_check_deps(struct symbol *sym)
sym->flags &= ~SYMBOL_CHECK;
}
sym->flags &= ~SYMBOL_CHECK;
}
- if (sym2 && sym2 == sym)
- sym2 = NULL;
-
return sym2;
}
return sym2;
}
@@
-1298,8
+1286,6
@@
const char *prop_get_type_name(enum prop_type type)
switch (type) {
case P_PROMPT:
return "prompt";
switch (type) {
case P_PROMPT:
return "prompt";
- case P_ENV:
- return "env";
case P_COMMENT:
return "comment";
case P_MENU:
case P_COMMENT:
return "comment";
case P_MENU: