From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.5 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C791BC04AB4 for ; Fri, 17 May 2019 11:54:54 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id 82B7920881 for ; Fri, 17 May 2019 11:54:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 82B7920881 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 03DC25F3C; Fri, 17 May 2019 13:54:52 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id C975F5B16; Fri, 17 May 2019 13:54:49 +0200 (CEST) X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 May 2019 04:54:48 -0700 X-ExtLoop1: 1 Received: from bricha3-mobl.ger.corp.intel.com ([10.237.221.96]) by orsmga007.jf.intel.com with SMTP; 17 May 2019 04:54:46 -0700 Received: by (sSMTP sendmail emulation); Fri, 17 May 2019 12:54:46 +0100 Date: Fri, 17 May 2019 12:54:45 +0100 From: Bruce Richardson To: dev@dpdk.org Cc: bluca@debian.org, stable@dpdk.org Message-ID: <20190517115445.GA664@bricha3-MOBL.ger.corp.intel.com> References: <20190503133537.58712-1-bruce.richardson@intel.com> <20190517114613.7027-1-bruce.richardson@intel.com> <20190517114613.7027-2-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190517114613.7027-2-bruce.richardson@intel.com> User-Agent: Mutt/1.11.4 (2019-03-13) Subject: Re: [dpdk-dev] [PATCH v2 1/3] examples: fix install of sample apps if setting not provided X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Fri, May 17, 2019 at 12:46:11PM +0100, Bruce Richardson wrote: > While the examples were being installed into the appropriate install path > when processing the examples/meson.build file, that file was only processed > if the "examples" meson parameter was non-empty. Since we now do more than > just build the examples, we need to unconditionally process the file. > > Fixes: 2daf565f91b5 ("examples: install as part of ninja install") > > Cc: stable@dpdk.org > Signed-off-by: Bruce Richardson > --- > meson.build | 7 +++---- > 1 file changed, 3 insertions(+), 4 deletions(-) > > diff --git a/meson.build b/meson.build > index 46f9c5683..9cad43481 100644 > --- a/meson.build > +++ b/meson.build > @@ -42,10 +42,9 @@ subdir('app') > # build docs > subdir('doc') > > -# build any examples explicitly requested - useful for developers > -if get_option('examples') != '' > - subdir('examples') > -endif > +# build any examples explicitly requested - useful for developers - and > +# install any example code into the appropriate install path > +subdir('examples') > > # build kernel modules if enabled > if get_option('enable_kmods') Self-nak, sorry. Need to take account of an empty "examples" value inside examples/meson.build. V3 to follow soon. :-( /Bruce