aboutsummaryrefslogtreecommitdiff
path: root/scripts/kconfig
diff options
context:
space:
mode:
authorArnaud Lacombe2010-08-21 01:20:52 -0400
committerArnaud Lacombe2010-09-19 18:19:35 -0400
commitef211607ed49c475735898514c60a9797208b699 (patch)
tree6f5cd39b346ad83534841fd122a99d3f3e1652a9 /scripts/kconfig
parent652cf9821d2a5b22a1725ce8dc235ea5de0e1c6f (diff)
kconfig: allow PACKAGE to be defined on the compiler's command-line
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com> Reviewed-by: Sam Ravnborg <sam@ravnborg.org> Reviewed-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts/kconfig')
-rw-r--r--scripts/kconfig/lkc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/kconfig/lkc.h b/scripts/kconfig/lkc.h
index 1b966bf02b12..5d5f1872d651 100644
--- a/scripts/kconfig/lkc.h
+++ b/scripts/kconfig/lkc.h
@@ -31,7 +31,10 @@ extern "C" {
#define SRCTREE "srctree"
+#ifndef PACKAGE
#define PACKAGE "linux"
+#endif
+
#define LOCALEDIR "/usr/share/locale"
#define _(text) gettext(text)