lkml.org 
[lkml]   [2018]   [Feb]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[RFC PATCH 6/7] kconfig: add basic environments to evaluate C flags in Kconfig
Date
Add minimum environments to start with.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

init/Kconfig | 8 ++++++++
1 file changed, 8 insertions(+)

diff --git a/init/Kconfig b/init/Kconfig
index 64f9dd2..31fbc6e 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -25,6 +25,14 @@ config CC_VERSION_TEXT
text does not match, silentoldconfig will be invoked because we need
to re-compute compiler capabilities and symbols that depends on them.

+config srctree
+ string
+ option env="srctree"
+
+config CC
+ string
+ option env="CC"
+
config CONSTRUCTORS
bool
depends on !UML
--
2.7.4
\
 
 \ /
  Last update: 2018-02-08 17:23    [W:0.170 / U:0.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site