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>
This commit is contained in:
@@ -31,7 +31,10 @@ extern "C" {
|
|||||||
|
|
||||||
#define SRCTREE "srctree"
|
#define SRCTREE "srctree"
|
||||||
|
|
||||||
|
#ifndef PACKAGE
|
||||||
#define PACKAGE "linux"
|
#define PACKAGE "linux"
|
||||||
|
#endif
|
||||||
|
|
||||||
#define LOCALEDIR "/usr/share/locale"
|
#define LOCALEDIR "/usr/share/locale"
|
||||||
|
|
||||||
#define _(text) gettext(text)
|
#define _(text) gettext(text)
|
||||||
|
Reference in New Issue
Block a user