From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerin Jacob Kollanukkaran Subject: [PATCH] meson: remove build warnings Date: Mon, 18 Mar 2019 16:28:36 +0000 Message-ID: <20190318162804.28974-1-jerinj@marvell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Cc: "dev@dpdk.org" , Jerin Jacob Kollanukkaran To: Thomas Monjalon , Bruce Richardson Return-path: Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id A0CE22C54 for ; Mon, 18 Mar 2019 17:28:47 +0100 (CET) Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" From: Jerin Jacob Remove the following meson build warnings 1) WARNING: Project specifies a minimum meson_version '>=3D 0.47.1' but uses features which were added in newer versions: * 0.48.0: {'console arg in custom_target'} 2) config/arm/meson.build:153: WARNING: Trying to compare values of different types (list, str) using =3D=3D. Signed-off-by: Jerin Jacob --- config/arm/meson.build | 4 ++-- meson.build | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/arm/meson.build b/config/arm/meson.build index 8e892fa77..170a4981a 100644 --- a/config/arm/meson.build +++ b/config/arm/meson.build @@ -116,8 +116,8 @@ else cmd_output =3D cmd.stdout().to_lower().strip().split(' ') endif # Set to generic if variable is not found - machine =3D get_variable('impl_' + cmd_output[0], 'generic') - if machine =3D=3D 'generic' + machine =3D get_variable('impl_' + cmd_output[0], ['generic']) + if machine[0] =3D=3D 'generic' machine =3D impl_generic cmd_output =3D cmd_generic endif diff --git a/meson.build b/meson.build index 69833de82..f1abf1e59 100644 --- a/meson.build +++ b/meson.build @@ -5,7 +5,7 @@ project('DPDK', 'C', version: '19.05.0-rc0', license: 'BSD', default_options: ['buildtype=3Drelease', 'default_library=3Dstatic'], - meson_version: '>=3D 0.47.1' + meson_version: '>=3D 0.48.0' ) =20 # set up some global vars for compiler, platform, configuration, etc. --=20 2.20.1