From patchwork Thu Jan 7 17:29:17 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Creekmore X-Patchwork-Id: 7978511 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 404EB9F54F for ; Thu, 7 Jan 2016 17:31:46 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5F59A20122 for ; Thu, 7 Jan 2016 17:31:45 +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 8B4B620109 for ; Thu, 7 Jan 2016 17:31:44 +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 1aHENc-0006nh-IH; Thu, 07 Jan 2016 17:29:44 +0000 Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1aHENb-0006n6-1d for xen-devel@lists.xenproject.org; Thu, 07 Jan 2016 17:29:43 +0000 Received: from [193.109.254.147] by server-9.bemta-14.messagelabs.com id DE/D0-13475-680AE865; Thu, 07 Jan 2016 17:29:42 +0000 X-Env-Sender: jonathan.creekmore@gmail.com X-Msg-Ref: server-15.tower-27.messagelabs.com!1452187780!15380584!1 X-Originating-IP: [209.85.160.171] 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 7813 invoked from network); 7 Jan 2016 17:29:41 -0000 Received: from mail-yk0-f171.google.com (HELO mail-yk0-f171.google.com) (209.85.160.171) by server-15.tower-27.messagelabs.com with AES128-GCM-SHA256 encrypted SMTP; 7 Jan 2016 17:29:41 -0000 Received: by mail-yk0-f171.google.com with SMTP id v14so243887001ykd.3 for ; Thu, 07 Jan 2016 09:29:41 -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=Uvs9v0vNjy/6X03V4aaVhlVs/5MN9+K+MaHWITKALjM=; b=Gc+04EpH98ZUFO0NzLaCDNXiNvtBgJWTy2Q3R6q2UVVOVhj2cGt4CvnY3oqBdkkYRa sCa0Copkcx7R5RO/ryACPTu+Ncr/KmWgVltX6bBf07LfePTChU+Suzb+ZQnkph6WOjDD UbncnCTlolAoPKMRf/67R7V25ZRCNgD1knswX/Ls6TNDOyJNXg1wsBl73sfYNIqocDtA TWFssVwF5eq0a/BVIUjIbWNd0giQJG47T4gJZFShxX3wSMNgvXujblNW3TACKW5Bif4u 0MyBZDbe8d8llR0oPzjoYg3+605ExdeI74IePdTSJ5IE/JpZsTzVVoYx8DT6EdF2PHL2 S2HQ== X-Received: by 10.129.154.149 with SMTP id r143mr63222438ywg.151.1452187780510; Thu, 07 Jan 2016 09:29:40 -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 n4sm6450475ywn.18.2016.01.07.09.29.39 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 07 Jan 2016 09:29:39 -0800 (PST) From: Jonathan Creekmore To: xen-devel@lists.xenproject.org Date: Thu, 7 Jan 2016 11:29:17 -0600 Message-Id: <1452187761-38328-2-git-send-email-jonathan.creekmore@gmail.com> X-Mailer: git-send-email 2.6.4 In-Reply-To: <1452187761-38328-1-git-send-email-jonathan.creekmore@gmail.com> References: <1452187761-38328-1-git-send-email-jonathan.creekmore@gmail.com> Cc: Keir Fraser , Ian Campbell , Jonathan Creekmore , Ian Jackson , Tim Deegan , Jan Beulich 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 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 Reviewed-by: Doug Goldstein Reviewed-by: Konrad Rzeszutek Wilk --- 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)/..