[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1518106752-29228-7-git-send-email-yamada.masahiro@socionext.com>
Date: Fri, 9 Feb 2018 01:19:11 +0900
From: Masahiro Yamada <yamada.masahiro@...ionext.com>
To: linux-kbuild@...r.kernel.org,
Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Kees Cook <keescook@...omium.org>,
Nicolas Pitre <nicolas.pitre@...aro.org>,
"Luis R . Rodriguez" <mcgrof@...e.com>,
Randy Dunlap <rdunlap@...radead.org>,
Ulf Magnusson <ulfalizer@...il.com>,
Sam Ravnborg <sam@...nborg.org>,
Michal Marek <michal.lkml@...kovi.net>,
Martin Schwidefsky <schwidefsky@...ibm.com>,
Pavel Machek <pavel@....cz>, linux-s390@...r.kernel.org,
Jiri Kosina <jkosina@...e.cz>,
Masahiro Yamada <yamada.masahiro@...ionext.com>,
linux-kernel@...r.kernel.org
Subject: [RFC PATCH 6/7] kconfig: add basic environments to evaluate C flags in Kconfig
Add minimum environments to start with.
Signed-off-by: Masahiro Yamada <yamada.masahiro@...ionext.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
Powered by blists - more mailing lists