From patchwork Fri Jan 15 17:01:35 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Creekmore X-Patchwork-Id: 8043421 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 2E8C09F716 for ; Fri, 15 Jan 2016 17:04:23 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5F1A620458 for ; Fri, 15 Jan 2016 17:04:22 +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 4DFAB20453 for ; Fri, 15 Jan 2016 17:04:21 +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 1aK7kx-0004br-U3; Fri, 15 Jan 2016 17:01:47 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1aK7kw-0004b6-Hi for xen-devel@lists.xenproject.org; Fri, 15 Jan 2016 17:01:46 +0000 Received: from [85.158.139.211] by server-9.bemta-5.messagelabs.com id 99/92-30270-9F529965; Fri, 15 Jan 2016 17:01:45 +0000 X-Env-Sender: jonathan.creekmore@gmail.com X-Msg-Ref: server-8.tower-206.messagelabs.com!1452877304!15912040!1 X-Originating-IP: [209.85.160.195] 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 2416 invoked from network); 15 Jan 2016 17:01:45 -0000 Received: from mail-yk0-f195.google.com (HELO mail-yk0-f195.google.com) (209.85.160.195) by server-8.tower-206.messagelabs.com with AES128-GCM-SHA256 encrypted SMTP; 15 Jan 2016 17:01:45 -0000 Received: by mail-yk0-f195.google.com with SMTP id k129so40488933yke.3 for ; Fri, 15 Jan 2016 09:01:45 -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=wOzMTl1MkWDUA+bh/k2Hnpld1wwU5ydSdJPLpWdVt+g=; b=WR0iMnsUi3DfApGKIr5HOPJC2Y1VjAoNmRnNzfyMQRxQpTdZII/9veYvpKXEcG6F6f spYe4lgOd8UepPMoOc96fb4ThwGU1TtEXLknEMMWYn9gXduTZensqKowNGry5x8sShxV Rz+8LmEyoZC3m+GKjZYPmc/uZhoynchv04sSGwQhTd10aY8n6mEqhcaj655ok9gmB6Bz EkkHdJHN9qS/9ptwIWSTMWfr+Esb51vXVIyjDVKo4s1/oJFAdJ88Hsn9WbzoCl1kOCcj e16i+v3WukuPEiXjMJn1o81WQaoej9/yH3mdiycxLmnKTJMID6vYxujJY77M6j9fYH7J U87g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=wOzMTl1MkWDUA+bh/k2Hnpld1wwU5ydSdJPLpWdVt+g=; b=ktNvv0S1tjC2iPcTee8v0Pg82PAwibnur6W3Wb1179x6CWRtJz+bj1q784+mihmdkK K6wRXPD9VsdGJ1zZ2CUjyvCJzmvjMKUfAg/+AiigVYjGMp/QLDM9+1GPU6UUykLMfNgC oimFThnckWCvm7ECtZjVW05Q+WzwJFonsX5ueQlWTsCsZKSA4rgJUKX1xTTfbKUaruYa BeYBJDavLg+nNuoeUc4lTAgjmNTXMeuj8LHnEOB4YSxf3/eI/4VmIDJvNGDWATzypu5A 4AEIt8DPaIy3qt1mY1LACc1IRd2+arvRXz4sQP/wI1AkQjkqWaR8KW/1+rmubidlhT7b Od5Q== X-Gm-Message-State: ALoCoQn6QpNy7yGgpcqXWAyfcJkdPCepCmQwQTla6ISupThnc7i6VI1gvqyZaoHBh7P2D+b/HUwIewTuN/iPMgmKQ5KCbHkriw== X-Received: by 10.37.230.133 with SMTP id d127mr1172901ybh.134.1452877304176; Fri, 15 Jan 2016 09:01:44 -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 a126sm8628879ywe.11.2016.01.15.09.01.43 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 15 Jan 2016 09:01:43 -0800 (PST) From: Jonathan Creekmore To: xen-devel@lists.xenproject.org Date: Fri, 15 Jan 2016 11:01:35 -0600 Message-Id: <1452877299-59267-2-git-send-email-jonathan.creekmore@gmail.com> X-Mailer: git-send-email 2.6.4 In-Reply-To: <1452877299-59267-1-git-send-email-jonathan.creekmore@gmail.com> References: <1452877299-59267-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 v6 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 3699b20..e03e79b 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)/..