From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerin Jacob Kollanukkaran Subject: [PATCH v2] meson: remove build warnings Date: Tue, 19 Mar 2019 17:22:20 +0000 Message-ID: <20190319172150.12765-1-jerinj@marvell.com> References: <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" , "bruce.richardson@intel.com" , "bluca@debian.org" , "Jerin Jacob Kollanukkaran" , "stable@dpdk.org" To: Thomas Monjalon Return-path: In-Reply-To: <20190318162804.28974-1-jerinj@marvell.com> 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 warning by comparing string to string. config/arm/meson.build:153: WARNING: Trying to compare values of different types (list, str) using =3D=3D. Fixes: c6e536e38437 ("build: add more implementers IDs and PNs for ARM") Cc: stable@dpdk.org Signed-off-by: Jerin Jacob --- v2: Remove meson version related warning as bumbing the version needs techboard approval. --- config/arm/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 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 --=20 2.21.0