summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorJerin Jacob <jerinj@marvell.com>2019-03-19 17:22:20 +0000
committerThomas Monjalon <thomas@monjalon.net>2019-03-26 23:31:47 +0100
commitf6188bb8b0a7567d581023bfd91655bc668464d4 (patch)
treef23c83dba52b4858aec107f5d9b64103d927b1fb /config
parent0ffbdd1d8d2ab43cff01d56ccd86c092aaa6df39 (diff)
downloaddpdk-draft-windows-f6188bb8b0a7567d581023bfd91655bc668464d4.zip
dpdk-draft-windows-f6188bb8b0a7567d581023bfd91655bc668464d4.tar.gz
dpdk-draft-windows-f6188bb8b0a7567d581023bfd91655bc668464d4.tar.xz
build: remove meson warning for Arm
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 ==. Fixes: c6e536e38437 ("build: add more implementers IDs and PNs for ARM") Cc: stable@dpdk.org Signed-off-by: Jerin Jacob <jerinj@marvell.com> Acked-by: Luca Boccassi <bluca@debian.org>
Diffstat (limited to 'config')
-rw-r--r--config/arm/meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/arm/meson.build b/config/arm/meson.build
index 8e892fa..170a498 100644
--- a/config/arm/meson.build
+++ b/config/arm/meson.build
@@ -116,8 +116,8 @@ else
cmd_output = cmd.stdout().to_lower().strip().split(' ')
endif
# Set to generic if variable is not found
- machine = get_variable('impl_' + cmd_output[0], 'generic')
- if machine == 'generic'
+ machine = get_variable('impl_' + cmd_output[0], ['generic'])
+ if machine[0] == 'generic'
machine = impl_generic
cmd_output = cmd_generic
endif