Browse Source

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>
Arnaud Lacombe 15 years ago
parent
commit
ef211607ed
1 changed files with 3 additions and 0 deletions
  1. 3 0
      scripts/kconfig/lkc.h

+ 3 - 0
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)