summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorArnaud Lacombe <lacombar@gmail.com>2010-08-21 07:20:52 +0200
committerArnaud Lacombe <lacombar@gmail.com>2010-09-20 00:19:35 +0200
commitef211607ed49c475735898514c60a9797208b699 (patch)
tree6f5cd39b346ad83534841fd122a99d3f3e1652a9 /scripts
parentkconfig: rephrase help texts/comments not to include the package name (diff)
downloadlinux-ef211607ed49c475735898514c60a9797208b699.tar.xz
linux-ef211607ed49c475735898514c60a9797208b699.zip
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')
-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)