diff options
author | Yann E. MORIN <yann.morin.1998@free.fr> | 2012-06-08 01:48:56 +0200 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2012-06-28 10:38:54 +0200 |
commit | f5ef2f7bf2e389f5c94d69e09268356f4c2b8220 (patch) | |
tree | 7bb49fb2f01e96d8ab5aef4bf123053d076afaa9 /scripts/Makefile.headersinst | |
parent | 4edc7e32affd40ceb06ba58ff55e4664396b24c7 (diff) |
scripts/config: allow alternate prefix to config option symbol
While the Linux kernel uses 'CONFIG_' as a prefix to the config options
symbols, many projects that use kconfig may use different prefixes, or
even none at all.
If the CONFIG_ environment variable is set, use it as the prefix (empty
is a valid prefix). Otherwise, use the default prefix 'CONFIG_'.
This matches the support for alternate prefixes in scripts/kconfig/lkc.h,
which uses the same logic (albeit with a C define instead of an environment
variable).
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts/Makefile.headersinst')
0 files changed, 0 insertions, 0 deletions