Received: by 10.223.176.5 with SMTP id f5csp2098213wra; Thu, 8 Feb 2018 08:24:50 -0800 (PST) X-Google-Smtp-Source: AH8x225bJ8tQ5dL3Ogpn7fJL2JicCm7k5pfKV3cO3dyjlXvx8Dr/up5Sp2UHV4MrVMgQzMUN32li X-Received: by 2002:a17:902:44c:: with SMTP id 70-v6mr1108547ple.221.1518107090252; Thu, 08 Feb 2018 08:24:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518107090; cv=none; d=google.com; s=arc-20160816; b=Ome+qJMC5vkut/8YMduyupNyp1qWuSkkCvGkHceojYETmv043o66NY+UgGG+/E+qy7 kJVyS1zPBgIkiOGkH2kCAkjNtpPIaWNZ+P/vKa+MVZ/HKVI7y/7nezIWKnhmNgoEJCC0 yR/c9bOF8nO/yaTOex6tPvJFaqyndXeOQ8XkQKwG8aU+t+UfhGMq9Ys57nlnrKndaGHb nX5cYzFVxRHiEhzNc+8VTEDg2HiKTd/lzCLvJmiO2UxMUsonZ672Rus5T2yPVtQ+fkjx I9yaVsSTt1Kl9fcskZUFY21ianW/MvR2RI5RzyckTjhxSuM3/cdagpORNccvJHTAP7Ps Jvcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter :arc-authentication-results; bh=vjBn6qmZtO3pYXfyXNULY3CphaqOCdqNsvaqSKBMzkE=; b=DRvTHWXqR2Mf0eTqW/5hTJ/WDkjUix0WCp/gA1WsrMIHPmV7uBBbMhrvuunkXxLI9s YkI3sXWnTqjt7TEorqzPG8yZqPompzfYrchg2EqTj/8m2bkERJhMmzq3s3i1cu5PaczK RhZ/8AoVMs4ACsHFkXHhbEwcSKz2bRdb8h0T+IqNMGIfKYKz2bAzgwCuwnIZuZvEc+L4 ij3wciVQTqxV71+OgECyg4reUC9OExN7knSyrUsyycp3LpBOadlOjgmSFcBp8cobzwOC pNOIwiiYvSBB64okgVt3YXm8EhklNjM6aHIW5QHXbyCFKXV6UutmfPYZ0fIOQcewF8iL Howg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=M6acOxXq; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v62si176342pfi.376.2018.02.08.08.24.34; Thu, 08 Feb 2018 08:24:50 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=M6acOxXq; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752646AbeBHQXQ (ORCPT + 99 others); Thu, 8 Feb 2018 11:23:16 -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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 -- 2.7.4