diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-26 14:05:15 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-26 14:05:15 -0400 |
commit | 2a2ed2db353d949c06b6ef8b6913f65b39111eab (patch) | |
tree | d835c3dd101da91089c3bdf51c8632e84be37232 /scripts/kconfig/lkc.h | |
parent | 972d19e837833b93466c6f6a8ef2a7d653000aa3 (diff) | |
parent | 070b98bfda3d27269519067c1c67eaef695f3e0c (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild
* git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild: (40 commits)
kbuild: trivial fixes in Makefile
kbuild: adding symbols in Kconfig and defconfig to TAGS
kbuild: replace abort() with exit(1)
kbuild: support for %.symtypes files
kbuild: fix silentoldconfig recursion
kbuild: add option for stripping modules while installing them
kbuild: kill some false positives from modpost
kbuild: export-symbol usage report generator
kbuild: fix make -rR breakage
kbuild: append -dirty for updated but uncommited changes
kbuild: append git revision for all untagged commits
kbuild: fix module.symvers parsing in modpost
kbuild: ignore make's built-in rules & variables
kbuild: bugfix with initramfs
kbuild: modpost build fix
kbuild: check license compatibility when building modules
kbuild: export-type enhancement to modpost.c
kbuild: add dependency on kernel.release to the package targets
kbuild: `make kernelrelease' speedup
kconfig: KCONFIG_OVERWRITECONFIG
...
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 |