diff options
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); |