aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/lkc.h
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/kconfig/lkc.h')
-rw-r--r--scripts/kconfig/lkc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kconfig/lkc.h b/scripts/kconfig/lkc.h
index 7aa9db0b2a77..7577a7fbb405 100644
--- a/scripts/kconfig/lkc.h
+++ b/scripts/kconfig/lkc.h
@@ -41,7 +41,7 @@ extern "C" {
41#endif 41#endif
42static inline const char *CONFIG_prefix(void) 42static inline const char *CONFIG_prefix(void)
43{ 43{
44 return CONFIG_; 44 return getenv( "CONFIG_" ) ?: CONFIG_;
45} 45}
46#undef CONFIG_ 46#undef CONFIG_
47#define CONFIG_ CONFIG_prefix() 47#define CONFIG_ CONFIG_prefix()