Message ID | 1518106752-29228-7-git-send-email-yamada.masahiro@socionext.com |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp1642950ljc; Thu, 8 Feb 2018 08:23:52 -0800 (PST) X-Google-Smtp-Source: AH8x2270s8bg652w53IDBDkaNw6Ni+kdsetOYl0AZRe0X89Y2oI1Jb1WmeaQc3OQfSNMVAYgmFPz X-Received: by 10.99.182.12 with SMTP id j12mr967974pgf.113.1518107032071; Thu, 08 Feb 2018 08:23:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518107032; cv=none; d=google.com; s=arc-20160816; b=RExKFDvgpJZB7L9ehPLnH4zyQLat48Qwtz9Ht4AqWsPjvL3UrY8hZZT2Yt46jdAsuA rKaOEk3OgEYyBMFQftalrllxcFV2SuJtdtxsqARqJcVVC1leL9b/3A7W+LxUs1cuhO/D qnX3OkEZqKsZQr4X7xjt+HDb2FEDr61XXVxuohKIbSVdj+iJIbjzDg20yEAKFK1kpvTf J3ITjs4y7bbyxwRumUDHyOuS4DlfiWQVeG4hAI7/R2sU237G77hk9rpUpRvpOTQR71qI V4dbzA9o4lwIfbsBrvyCzUNEiDaJC7ql5uqgI9JKf1NnHqBefFzdNMSd3XqawBIfWnAx Eqfg== 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: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 10si186255pfu.318.2018.02.08.08.23.51; Thu, 08 Feb 2018 08:23:52 -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 S1752649AbeBHQXQ (ORCPT <rfc822;amit.pundir@linaro.org> + 13 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 <rfc822;linux-kernel@vger.kernel.org>); 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 <yamada.masahiro@socionext.com> To: linux-kbuild@vger.kernel.org, Linus Torvalds <torvalds@linux-foundation.org> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Andrew Morton <akpm@linux-foundation.org>, Kees Cook <keescook@chromium.org>, Nicolas Pitre <nicolas.pitre@linaro.org>, "Luis R . Rodriguez" <mcgrof@suse.com>, Randy Dunlap <rdunlap@infradead.org>, Ulf Magnusson <ulfalizer@gmail.com>, Sam Ravnborg <sam@ravnborg.org>, Michal Marek <michal.lkml@markovi.net>, Martin Schwidefsky <schwidefsky@de.ibm.com>, Pavel Machek <pavel@ucw.cz>, linux-s390@vger.kernel.org, Jiri Kosina <jkosina@suse.cz>, Masahiro Yamada <yamada.masahiro@socionext.com>, 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
Kconfig: add new special property shell= to test compiler options in Kconfig
|
expand
|
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
Add minimum environments to start with. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> --- init/Kconfig | 8 ++++++++ 1 file changed, 8 insertions(+) -- 2.7.4