From patchwork Tue Nov 10 11:17:09 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Williams X-Patchwork-Id: 7592051 Return-Path: X-Original-To: patchwork-linux-nvdimm@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 173569F392 for ; Tue, 10 Nov 2015 19:17:10 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2CD1720584 for ; Tue, 10 Nov 2015 19:17:09 +0000 (UTC) Received: from ml01.01.org (ml01.01.org [198.145.21.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id EA6EA20459 for ; Tue, 10 Nov 2015 19:17:07 +0000 (UTC) Received: from ml01.vlan14.01.org (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id DEA731A202C; Tue, 10 Nov 2015 11:17:07 -0800 (PST) X-Original-To: linux-nvdimm@lists.01.org Delivered-To: linux-nvdimm@lists.01.org Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by ml01.01.org (Postfix) with ESMTP id 4EE091A202C for ; Tue, 10 Nov 2015 11:17:06 -0800 (PST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP; 10 Nov 2015 11:17:06 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,271,1444719600"; d="scan'208";a="833165729" Received: from dwillia2-desk3.jf.intel.com ([10.54.39.39]) by fmsmga001.fm.intel.com with ESMTP; 10 Nov 2015 11:17:06 -0800 Subject: [PATCH 2/3] ndctl: default to local ndctl.h for rpm builds From: Dan Williams To: linux-nvdimm@lists.01.org Date: Tue, 10 Nov 2015 06:17:09 -0500 Message-ID: <20151110111709.15310.62913.stgit@dwillia2-desk3.jf.intel.com> In-Reply-To: <20151110111659.15310.88429.stgit@dwillia2-desk3.jf.intel.com> References: <20151110111659.15310.88429.stgit@dwillia2-desk3.jf.intel.com> User-Agent: StGit/0.17.1-9-g687f MIME-Version: 1.0 X-BeenThere: linux-nvdimm@lists.01.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Linux-nvdimm developer list." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-nvdimm-bounces@lists.01.org Sender: "Linux-nvdimm" X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, DATE_IN_PAST_06_12, RCVD_IN_DNSWL_LOW, RP_MATCHES_RCVD, 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 If a distribution wants to limit functionality based on the kernel they are shipping they can undo this policy. Default local is the safe option for unknown build environments. Signed-off-by: Dan Williams --- contrib/ndctl.spec.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/ndctl.spec.in b/contrib/ndctl.spec.in index 3d0687ebdc47..1b9595050bce 100644 --- a/contrib/ndctl.spec.in +++ b/contrib/ndctl.spec.in @@ -52,7 +52,7 @@ Libraries for %{name}. %build echo "" > version ./autogen.sh -%configure --disable-static +%configure --disable-static --enable-local make %{?_smp_mflags} %install