diff options
Diffstat (limited to 'scripts/kconfig/lkc.h')
-rw-r--r-- | scripts/kconfig/lkc.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/scripts/kconfig/lkc.h b/scripts/kconfig/lkc.h index 527f60c99c50..2628023a1fe1 100644 --- a/scripts/kconfig/lkc.h +++ b/scripts/kconfig/lkc.h | |||
@@ -40,6 +40,10 @@ extern "C" { | |||
40 | 40 | ||
41 | #define TF_COMMAND 0x0001 | 41 | #define TF_COMMAND 0x0001 |
42 | #define TF_PARAM 0x0002 | 42 | #define TF_PARAM 0x0002 |
43 | #define TF_OPTION 0x0004 | ||
44 | |||
45 | #define T_OPT_MODULES 1 | ||
46 | #define T_OPT_DEFCONFIG_LIST 2 | ||
43 | 47 | ||
44 | struct kconf_id { | 48 | struct kconf_id { |
45 | int name; | 49 | int name; |
@@ -60,8 +64,6 @@ int zconf_lineno(void); | |||
60 | char *zconf_curname(void); | 64 | char *zconf_curname(void); |
61 | 65 | ||
62 | /* confdata.c */ | 66 | /* confdata.c */ |
63 | extern const char conf_def_filename[]; | ||
64 | |||
65 | char *conf_get_default_confname(void); | 67 | char *conf_get_default_confname(void); |
66 | 68 | ||
67 | /* kconfig_load.c */ | 69 | /* kconfig_load.c */ |
@@ -78,6 +80,7 @@ struct property *menu_add_prop(enum prop_type type, char *prompt, struct expr *e | |||
78 | struct property *menu_add_prompt(enum prop_type type, char *prompt, struct expr *dep); | 80 | struct property *menu_add_prompt(enum prop_type type, char *prompt, struct expr *dep); |
79 | void menu_add_expr(enum prop_type type, struct expr *expr, struct expr *dep); | 81 | void menu_add_expr(enum prop_type type, struct expr *expr, struct expr *dep); |
80 | void menu_add_symbol(enum prop_type type, struct symbol *sym, struct expr *dep); | 82 | void menu_add_symbol(enum prop_type type, struct symbol *sym, struct expr *dep); |
83 | void menu_add_option(int token, char *arg); | ||
81 | void menu_finalize(struct menu *parent); | 84 | void menu_finalize(struct menu *parent); |
82 | void menu_set_type(int type); | 85 | void menu_set_type(int type); |
83 | 86 | ||
@@ -99,6 +102,7 @@ const char *str_get(struct gstr *gs); | |||
99 | /* symbol.c */ | 102 | /* symbol.c */ |
100 | void sym_init(void); | 103 | void sym_init(void); |
101 | void sym_clear_all_valid(void); | 104 | void sym_clear_all_valid(void); |
105 | void sym_set_all_changed(void); | ||
102 | void sym_set_changed(struct symbol *sym); | 106 | void sym_set_changed(struct symbol *sym); |
103 | struct symbol *sym_check_deps(struct symbol *sym); | 107 | struct symbol *sym_check_deps(struct symbol *sym); |
104 | struct property *prop_alloc(enum prop_type type, struct symbol *sym); | 108 | struct property *prop_alloc(enum prop_type type, struct symbol *sym); |
@@ -137,7 +141,7 @@ static inline bool sym_is_optional(struct symbol *sym) | |||
137 | 141 | ||
138 | static inline bool sym_has_value(struct symbol *sym) | 142 | static inline bool sym_has_value(struct symbol *sym) |
139 | { | 143 | { |
140 | return sym->flags & SYMBOL_NEW ? false : true; | 144 | return sym->flags & SYMBOL_DEF_USER ? true : false; |
141 | } | 145 | } |
142 | 146 | ||
143 | #ifdef __cplusplus | 147 | #ifdef __cplusplus |