kconfig: get CONFIG_ prefix from the environment
authorYann E. MORIN <yann.morin.1998@free.fr>
Fri, 19 Oct 2012 23:06:25 +0000 (01:06 +0200)
committerChristian Lamparter <chunkeey@googlemail.com>
Fri, 22 Mar 2013 23:23:07 +0000 (00:23 +0100)
commit093668ba6752b4667c5109f37031a68c56d27cde
treebc27c2844af2fb8fc5bc61ad123e46a9cb6aedc5
parent5bc1c99e1bbdea2d94147d4c6480ef79652f2851
kconfig: get CONFIG_ prefix from the environment

Currently, the CONFIG_ prefix is hard-coded in the kconfig frontends
executables. This means that two projects that use kconfig with
different prefixes can not share the same kconfig frontends.

Instead of hard-coding the prefix in the frontends, get it from the
environment, and revert back to hard-coded value if not found.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
config/lkc.h