[PATCH 05/15] kconfig: allow PACKAGE to be defined on the compiler's command-line

Arnaud Lacombe
2010-09-11T15:53:59Z

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
---
scripts/kconfig/lkc.h | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/scripts/kconfig/lkc.h b/scripts/kconfig/lkc.h
index 1b966bf..5d5f187 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)
--
1.7.2.30.gc37d7.dirty