diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-07-30 03:17:06 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-07-30 03:17:06 -0400 |
commit | 1d3fe4a75b691285cded47c9f1a91b30d25287b0 (patch) | |
tree | d967425c1e961133ff0df98b986e81fae9162ba7 /scripts/kconfig/menu.c | |
parent | 664a41b8a91bf78a01a751e15175e0008977685a (diff) | |
parent | 2a11c8ea20bf850b3a2c60db8c2e7497d28aba99 (diff) |
Merge branch 'kconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6
* 'kconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6: (25 commits)
kconfig: Introduce IS_ENABLED(), IS_BUILTIN() and IS_MODULE()
xconfig: Abort close if configuration cannot be saved
kconfig: fix missing "0x" prefix from S_HEX symbol in autoconf.h
kconfig/nconf: remove useless conditionnal
kconfig/nconf: prevent segfault on empty menu
kconfig/nconf: use the generic menu_get_ext_help()
nconfig: Avoid Wunused-but-set warning
kconfig/conf: mark xfgets() private
kconfig: remove pending prototypes for kconfig_load()
kconfig/conf: add command line options' description
kconfig/conf: reduce the scope of `defconfig_file'
kconfig: use calloc() for expr allocation
kconfig: introduce specialized printer
kconfig: do not overwrite symbol direct dependency in assignment
kconfig/gconf: silent missing prototype warnings
kconfig/gconf: kill deadcode
kconfig: nuke LKC_DIRECT_LINK cruft
kconfig: nuke reference to SWIG
kconfig: add missing <stdlib.h> inclusion
kconfig: add missing <ctype.h> inclusion
...
Fix up conflicts in scripts/kconfig/Makefile
Diffstat (limited to 'scripts/kconfig/menu.c')
-rw-r--r-- | scripts/kconfig/menu.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/kconfig/menu.c b/scripts/kconfig/menu.c index 5fdf10dc1d8a..d66008639a43 100644 --- a/scripts/kconfig/menu.c +++ b/scripts/kconfig/menu.c | |||
@@ -3,10 +3,11 @@ | |||
3 | * Released under the terms of the GNU GPL v2.0. | 3 | * Released under the terms of the GNU GPL v2.0. |
4 | */ | 4 | */ |
5 | 5 | ||
6 | #include <ctype.h> | ||
7 | #include <stdarg.h> | ||
6 | #include <stdlib.h> | 8 | #include <stdlib.h> |
7 | #include <string.h> | 9 | #include <string.h> |
8 | 10 | ||
9 | #define LKC_DIRECT_LINK | ||
10 | #include "lkc.h" | 11 | #include "lkc.h" |
11 | 12 | ||
12 | static const char nohelp_text[] = N_( | 13 | static const char nohelp_text[] = N_( |
@@ -350,7 +351,7 @@ void menu_finalize(struct menu *parent) | |||
350 | last_menu->next = NULL; | 351 | last_menu->next = NULL; |
351 | } | 352 | } |
352 | 353 | ||
353 | sym->dir_dep.expr = parent->dep; | 354 | sym->dir_dep.expr = expr_alloc_or(sym->dir_dep.expr, parent->dep); |
354 | } | 355 | } |
355 | for (menu = parent->list; menu; menu = menu->next) { | 356 | for (menu = parent->list; menu; menu = menu->next) { |
356 | if (sym && sym_is_choice(sym) && | 357 | if (sym && sym_is_choice(sym) && |