diff options
author | Arnaud Lacombe <lacombar@gmail.com> | 2010-08-21 01:20:52 -0400 |
---|---|---|
committer | Arnaud Lacombe <lacombar@gmail.com> | 2010-09-19 18:19:35 -0400 |
commit | ef211607ed49c475735898514c60a9797208b699 (patch) | |
tree | 6f5cd39b346ad83534841fd122a99d3f3e1652a9 /scripts/kconfig | |
parent | 652cf9821d2a5b22a1725ce8dc235ea5de0e1c6f (diff) | |
download | linux-3.10-ef211607ed49c475735898514c60a9797208b699.tar.gz linux-3.10-ef211607ed49c475735898514c60a9797208b699.tar.bz2 linux-3.10-ef211607ed49c475735898514c60a9797208b699.zip |
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>
Diffstat (limited to 'scripts/kconfig')
-rw-r--r-- | 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 1b966bf02b1..5d5f1872d65 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) |