summaryrefslogtreecommitdiff
path: root/scripts/kconfig
diff options
context:
space:
mode:
authorArnaud Lacombe <lacombar@gmail.com>2010-08-21 09:20:52 +0400
committerArnaud Lacombe <lacombar@gmail.com>2010-09-20 02:19:35 +0400
commitef211607ed49c475735898514c60a9797208b699 (patch)
tree6f5cd39b346ad83534841fd122a99d3f3e1652a9 /scripts/kconfig
parent652cf9821d2a5b22a1725ce8dc235ea5de0e1c6f (diff)
downloadlinux-ef211607ed49c475735898514c60a9797208b699.tar.xz
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)