projects
/
carl9170fw.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kconfig: get CONFIG_ prefix from the environment
[carl9170fw.git]
/
config
/
lkc.h
diff --git
a/config/lkc.h
b/config/lkc.h
index 7aa9db0b2a7776513bfb7ad7f9a79d567509861a..7577a7fbb405f7c2d4c585b4f88ab687e90c863a 100644
(file)
--- a/
config/lkc.h
+++ b/
config/lkc.h
@@
-41,7
+41,7
@@
extern "C" {
#endif
static inline const char *CONFIG_prefix(void)
{
#endif
static inline const char *CONFIG_prefix(void)
{
- return CONFIG_;
+ return
getenv( "CONFIG_" ) ?:
CONFIG_;
}
#undef CONFIG_
#define CONFIG_ CONFIG_prefix()
}
#undef CONFIG_
#define CONFIG_ CONFIG_prefix()