From patchwork Thu Jan 7 17:15:29 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Creekmore X-Patchwork-Id: 7978451 Return-Path: X-Original-To: patchwork-xen-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 053C19FCC4 for ; Thu, 7 Jan 2016 17:18:21 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 87B9B2011B for ; Thu, 7 Jan 2016 17:18:15 +0000 (UTC) Received: from lists.xen.org (lists.xenproject.org [50.57.142.19]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9D527200ED for ; Thu, 7 Jan 2016 17:18:14 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xen.org) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1aHEAK-0005du-VI; Thu, 07 Jan 2016 17:16:00 +0000 Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1aHEAJ-0005dK-G7 for xen-devel@lists.xenproject.org; Thu, 07 Jan 2016 17:15:59 +0000 Received: from [85.158.143.35] by server-2.bemta-4.messagelabs.com id 55/53-08977-E4D9E865; Thu, 07 Jan 2016 17:15:58 +0000 X-Env-Sender: jonathan.creekmore@gmail.com X-Msg-Ref: server-14.tower-21.messagelabs.com!1452186955!8902021!1 X-Originating-IP: [209.85.220.178] X-SpamReason: No, hits=0.5 required=7.0 tests=BODY_RANDOM_LONG X-StarScan-Received: X-StarScan-Version: 7.35.1; banners=-,-,- X-VirusChecked: Checked Received: (qmail 6852 invoked from network); 7 Jan 2016 17:15:56 -0000 Received: from mail-qk0-f178.google.com (HELO mail-qk0-f178.google.com) (209.85.220.178) by server-14.tower-21.messagelabs.com with AES128-GCM-SHA256 encrypted SMTP; 7 Jan 2016 17:15:56 -0000 Received: by mail-qk0-f178.google.com with SMTP id p186so107775664qke.0 for ; Thu, 07 Jan 2016 09:15:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=7vH86jIOio4R8wmVGYfTSBX5qHKFmxXhO7NkKXwjONw=; b=NEczszoorNhWeNo0xQ1GdRmL7V7aooqMEtJXT8n1xnGyKYTiGzKt4Zgd2+COcKPOUJ AAizno+b9uOWI5Xl/NCOfdasYQj+UWmpJvbeooCNzv4jL/sSKggr1co+Lmfb9NqcMaZG ct5HMAg6XWokjqjDXTcf5HX09c64gu+Qr77apHdXmqDl1ShEatRiycpffT+6mMcELO/F 2PQ7JSeJXxDg/OJ/Vu0zcCGwVVCh8QwmpvJUdip4z3zd4sHkCHuGb44wouu3+NaaswW1 dv46kFrT479aZ6Bvoq4nzUlcX0kT9e9ceAhrfGcHvmj7+fWHoOmYgqJfB92E+gxMWTcq JVFA== X-Received: by 10.13.251.193 with SMTP id l184mr77027960ywf.125.1452186955214; Thu, 07 Jan 2016 09:15:55 -0800 (PST) Received: from Nebula.lan (c-68-34-224-206.hsd1.al.comcast.net. [68.34.224.206]) by smtp.gmail.com with ESMTPSA id f8sm85470875ywa.12.2016.01.07.09.15.54 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 07 Jan 2016 09:15:54 -0800 (PST) From: Jonathan Creekmore To: xen-devel@lists.xenproject.org Date: Thu, 7 Jan 2016 11:15:29 -0600 Message-Id: <1452186933-38035-2-git-send-email-jonathan.creekmore@gmail.com> X-Mailer: git-send-email 2.6.4 In-Reply-To: <1452186933-38035-1-git-send-email-jonathan.creekmore@gmail.com> References: <1452186933-38035-1-git-send-email-jonathan.creekmore@gmail.com> Cc: Keir Fraser , Ian Campbell , Ian Jackson , Tim Deegan , Jan Beulich , Jonathan Creekmore , Jonathan Creekmore Subject: [Xen-devel] [PATCH v3 1/5] build: Env var to enable expert config options X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Jonathan Creekmore Add an additional environment variable, defaulting to disabled, that enables the CONFIG_EXPERT configuration option. The purpose of the CONFIG_EXPERT configuration option is to make non-standard Kconfig options visible during the configuration process. The CONFIG_EXPERT option is not, itself, visible during the Kconfig configuration process, so typical users will never see it nor any of the non-standard configuration options. CC: Ian Campbell CC: Ian Jackson CC: Jan Beulich CC: Keir Fraser CC: Tim Deegan Signed-off-by: Jonathan Creekmore --- xen/Kconfig | 4 ++++ xen/Makefile | 1 + 2 files changed, 5 insertions(+) diff --git a/xen/Kconfig b/xen/Kconfig index ffe3f45..fa8b27c 100644 --- a/xen/Kconfig +++ b/xen/Kconfig @@ -22,3 +22,7 @@ config DEFCONFIG_LIST string option defconfig_list default "$ARCH_DEFCONFIG" + +config EXPERT + string + option env="XEN_CONFIG_EXPERT" diff --git a/xen/Makefile b/xen/Makefile index 9023863..4950afb 100644 --- a/xen/Makefile +++ b/xen/Makefile @@ -11,6 +11,7 @@ export XEN_DOMAIN ?= $(shell ([ -x /bin/dnsdomainname ] && /bin/dnsdomainname) | export XEN_BUILD_DATE ?= $(shell LC_ALL=C date) export XEN_BUILD_TIME ?= $(shell LC_ALL=C date +%T) export XEN_BUILD_HOST ?= $(shell hostname) +export XEN_CONFIG_EXPERT ?= n export BASEDIR := $(CURDIR) export XEN_ROOT := $(BASEDIR)/..