kconfig: allow PACKAGE to be defined on the compiler's command-line
Arnaud Lacombe [Sat, 21 Aug 2010 05:20:52 +0000 (01:20 -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 1b966bf..5d5f187 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)