diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-28 19:16:39 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-28 19:16:39 -0400 |
commit | 51399a391940e676877c7a791138081f13a0bab7 (patch) | |
tree | 6caefb858ee4b31172b85ec7bcedb826a29a551b /scripts/kconfig/lkc.h | |
parent | b779b332d0e1ef68f40867948ae5526a3e925163 (diff) | |
parent | df4d303647ebe5e2f7e473e32ccef9f8549e9d45 (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: (38 commits)
kbuild: convert `arch/tile' to the kconfig mainmenu upgrade
README: cite nconfig
Revert "kconfig: Temporarily disable dependency warnings"
kconfig: Use PATH_MAX instead of 128 for path buffer sizes.
kconfig: Fix realloc usage()
kconfig: Propagate const
kconfig: Don't go out from read config loop when you read new symbol
kconfig: fix menuconfig on debian lenny
kbuild: migrate all arch to the kconfig mainmenu upgrade
kconfig: expand file names
kconfig: use the file's name of sourced file
kconfig: constify file name
kconfig: don't emit warning upon rootmenu's prompt redefinition
kconfig: replace KERNELVERSION usage by the mainmenu's prompt
kconfig: delay gconf window initialization
kconfig: expand by default the rootmenu's prompt
kconfig: add a symbol string expansion helper
kconfig: regen parser
kconfig: implement the `mainmenu' directive
kconfig: allow PACKAGE to be defined on the compiler's command-line
...
Fix up trivial conflict in arch/mn10300/Kconfig
Diffstat (limited to 'scripts/kconfig/lkc.h')
-rw-r--r-- | scripts/kconfig/lkc.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/kconfig/lkc.h b/scripts/kconfig/lkc.h index bdf71bd31412..753cdbd7b805 100644 --- a/scripts/kconfig/lkc.h +++ b/scripts/kconfig/lkc.h | |||
@@ -31,12 +31,18 @@ extern "C" { | |||
31 | 31 | ||
32 | #define SRCTREE "srctree" | 32 | #define SRCTREE "srctree" |
33 | 33 | ||
34 | #ifndef PACKAGE | ||
34 | #define PACKAGE "linux" | 35 | #define PACKAGE "linux" |
36 | #endif | ||
37 | |||
35 | #define LOCALEDIR "/usr/share/locale" | 38 | #define LOCALEDIR "/usr/share/locale" |
36 | 39 | ||
37 | #define _(text) gettext(text) | 40 | #define _(text) gettext(text) |
38 | #define N_(text) (text) | 41 | #define N_(text) (text) |
39 | 42 | ||
43 | #ifndef CONFIG_ | ||
44 | #define CONFIG_ "CONFIG_" | ||
45 | #endif | ||
40 | 46 | ||
41 | #define TF_COMMAND 0x0001 | 47 | #define TF_COMMAND 0x0001 |
42 | #define TF_PARAM 0x0002 | 48 | #define TF_PARAM 0x0002 |
@@ -70,7 +76,7 @@ FILE *zconf_fopen(const char *name); | |||
70 | void zconf_initscan(const char *name); | 76 | void zconf_initscan(const char *name); |
71 | void zconf_nextfile(const char *name); | 77 | void zconf_nextfile(const char *name); |
72 | int zconf_lineno(void); | 78 | int zconf_lineno(void); |
73 | char *zconf_curname(void); | 79 | const char *zconf_curname(void); |
74 | 80 | ||
75 | /* conf.c */ | 81 | /* conf.c */ |
76 | void xfgets(char *str, int size, FILE *in); | 82 | void xfgets(char *str, int size, FILE *in); |