kconfig: allow PACKAGE to be defined on the compiler's command-line
authorArnaud Lacombe <lacombar@gmail.com>
Sat, 21 Aug 2010 05:20:52 +0000 (01:20 -0400)
committerArnaud Lacombe <lacombar@gmail.com>
Sun, 19 Sep 2010 22:19:35 +0000 (18:19 -0400)
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Michal Marek <mmarek@suse.cz>
scripts/kconfig/lkc.h

index 1b966bf02b126b99f8bf1b7de8d23fa1c3b02d79..5d5f1872d651f5742b7f40b765405fcd7325b5f6 100644 (file)
@@ -31,7 +31,10 @@ extern "C" {
 
 #define SRCTREE "srctree"
 
+#ifndef PACKAGE
 #define PACKAGE "linux"
+#endif
+
 #define LOCALEDIR "/usr/share/locale"
 
 #define _(text) gettext(text)