From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 2BB841B7EF for ; Mon, 9 Apr 2018 15:08:49 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Apr 2018 06:08:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,427,1517904000"; d="scan'208";a="215154041" Received: from irsmsx106.ger.corp.intel.com ([163.33.3.31]) by orsmga005.jf.intel.com with ESMTP; 09 Apr 2018 05:58:47 -0700 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.155]) by IRSMSX106.ger.corp.intel.com ([169.254.8.37]) with mapi id 14.03.0319.002; Mon, 9 Apr 2018 13:58:46 +0100 From: "Dumitrescu, Cristian" To: "Singh, Jasvinder" , "dev@dpdk.org" Thread-Topic: [PATCH] examples/ip_pipeline: fix freebsd build error Thread-Index: AQHTz/s6b/QETcmTUUezOysyBjdAW6P4ZNbA Date: Mon, 9 Apr 2018 12:58:44 +0000 Message-ID: <3EB4FA525960D640B5BDFFD6A3D891267BB3CF28@IRSMSX108.ger.corp.intel.com> References: <20180409120632.38567-1-jasvinder.singh@intel.com> In-Reply-To: <20180409120632.38567-1-jasvinder.singh@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.200.100 dlp-reaction: no-action x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] examples/ip_pipeline: fix freebsd build error 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: , X-List-Received-Date: Mon, 09 Apr 2018 13:08:50 -0000 > -----Original Message----- > From: Singh, Jasvinder > Sent: Monday, April 9, 2018 1:07 PM > To: dev@dpdk.org > Cc: Dumitrescu, Cristian > Subject: [PATCH] examples/ip_pipeline: fix freebsd build error >=20 > IP_Pipeline app is not supported in FreeBSD environment. Therefore, > skip it while building the sample apps on FreeBSD. >=20 > Fixes: 4bbf8e30aa5e ("examples/ip_pipeline: add CLI interface") > Fixes: 2f74ae28e23f ("examples/ip_pipeline: add tap object") >=20 > Signed-off-by: Jasvinder Singh > --- > examples/ip_pipeline/Makefile | 5 +++++ > 1 file changed, 5 insertions(+) >=20 > diff --git a/examples/ip_pipeline/Makefile b/examples/ip_pipeline/Makefil= e > index c936d1e..6ff2abf 100644 > --- a/examples/ip_pipeline/Makefile > +++ b/examples/ip_pipeline/Makefile > @@ -67,6 +67,11 @@ RTE_TARGET ?=3D x86_64-native-linuxapp-gcc >=20 > include $(RTE_SDK)/mk/rte.vars.mk >=20 > +ifneq ($(CONFIG_RTE_EXEC_ENV),"linuxapp") > +$(error This application can only operate in a linuxapp environment, \ > +please change the definition of the RTE_TARGET environment variable) > +endif > + > INC +=3D $(sort $(wildcard *.h)) >=20 > SRCS-$(CONFIG_RTE_LIBRTE_PIPELINE) :=3D $(SRCS-y) > -- > 2.9.3 Acked-by: Cristian Dumitrescu