From patchwork Thu Feb 8 16:19:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 10207399 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 5F04C60247 for ; Thu, 8 Feb 2018 16:26:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5023728608 for ; Thu, 8 Feb 2018 16:26:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4E84328D92; Thu, 8 Feb 2018 16:26:37 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0AEBC293FC for ; Thu, 8 Feb 2018 16:23:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752315AbeBHQXP (ORCPT ); Thu, 8 Feb 2018 11:23:15 -0500 Received: from conuserg-12.nifty.com ([210.131.2.79]:19352 "EHLO conuserg-12.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752249AbeBHQVh (ORCPT ); Thu, 8 Feb 2018 11:21:37 -0500 Received: from grover.sesame (FL1-125-199-20-195.osk.mesh.ad.jp [125.199.20.195]) (authenticated) by conuserg-12.nifty.com with ESMTP id w18GJP1I021191; Fri, 9 Feb 2018 01:19:32 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-12.nifty.com w18GJP1I021191 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1518106773; bh=vjBn6qmZtO3pYXfyXNULY3CphaqOCdqNsvaqSKBMzkE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=M6acOxXqovrBfcSb9ZlgU+b3dNbqPz+OhxFw9M7w9l6T/loOzoqD3PCA8Z3qYrSx1 8shLBRSgGQblSRoXh46Ne9I2bfOuPoTSkeDsdmZXmc8rl1S+hOncvOAifjpnCFW2dT UY8/1MHnI+UjEI6gRACcm853Y8MPNTda+IBIMv+I1w91KKqBHyYd5PbySOzM0qsUEX LqE5p40KdnhKoNSjzZUrqLy4RiqKsLbiBHlOmE5Pidh32GkKYPmJCv6/UTTdZ4+AqL WCdW/0DmDCEu3G6BUSXStdKiTQTJXTx/xCuw77xDA+JhQGEyO1vlnlSm+org4+odfM JWIDonadq959A== X-Nifty-SrcIP: [125.199.20.195] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org, Linus Torvalds Cc: Greg Kroah-Hartman , Andrew Morton , Kees Cook , Nicolas Pitre , "Luis R . Rodriguez" , Randy Dunlap , Ulf Magnusson , Sam Ravnborg , Michal Marek , Martin Schwidefsky , Pavel Machek , linux-s390@vger.kernel.org, Jiri Kosina , Masahiro Yamada , linux-kernel@vger.kernel.org Subject: [RFC PATCH 6/7] kconfig: add basic environments to evaluate C flags in Kconfig Date: Fri, 9 Feb 2018 01:19:11 +0900 Message-Id: <1518106752-29228-7-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1518106752-29228-1-git-send-email-yamada.masahiro@socionext.com> References: <1518106752-29228-1-git-send-email-yamada.masahiro@socionext.com> Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add minimum environments to start with. Signed-off-by: Masahiro Yamada --- 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