summaryrefslogtreecommitdiffstats
path: root/package/config/lkc.h
diff options
context:
space:
mode:
Diffstat (limited to 'package/config/lkc.h')
-rw-r--r--package/config/lkc.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/package/config/lkc.h b/package/config/lkc.h
index bdf71bd31..ec5b41820 100644
--- a/package/config/lkc.h
+++ b/package/config/lkc.h
@@ -31,12 +31,18 @@ extern "C" {
#define SRCTREE "srctree"
+#ifndef PACKAGE
#define PACKAGE "linux"
+#endif
+
#define LOCALEDIR "/usr/share/locale"
#define _(text) gettext(text)
#define N_(text) (text)
+#ifndef CONFIG_
+#define CONFIG_ "BR2_"
+#endif
#define TF_COMMAND 0x0001
#define TF_PARAM 0x0002
@@ -70,7 +76,7 @@ FILE *zconf_fopen(const char *name);
void zconf_initscan(const char *name);
void zconf_nextfile(const char *name);
int zconf_lineno(void);
-char *zconf_curname(void);
+const char *zconf_curname(void);
/* conf.c */
void xfgets(char *str, int size, FILE *in);