diff options
author | Bruce Richardson <bruce.richardson@intel.com> | 2019-04-09 11:55:36 +0100 |
---|---|---|
committer | Thomas Monjalon <thomas@monjalon.net> | 2019-04-17 18:09:52 +0200 |
commit | adf93ca564c73183e1c705cd7f35b98f3a660228 (patch) | |
tree | 43da96af2eb274a918071d2931ddfdab1b87a390 /drivers/mempool/dpaa/meson.build | |
parent | b458c2927ab416fd7becfbc740ccfa53f0dfbdd1 (diff) |
build: increase readability via shortcut variables
Define variables for "is_linux", "is_freebsd" and "is_windows"
to make the code shorter for comparisons and more readable.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
Acked-by: Luca Boccassi <bluca@debian.org>
Diffstat (limited to 'drivers/mempool/dpaa/meson.build')
-rw-r--r-- | drivers/mempool/dpaa/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mempool/dpaa/meson.build b/drivers/mempool/dpaa/meson.build index 9163b3db31..c4c8ebc09e 100644 --- a/drivers/mempool/dpaa/meson.build +++ b/drivers/mempool/dpaa/meson.build @@ -1,7 +1,7 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright 2018 NXP -if host_machine.system() != 'linux' +if not is_linux build = false endif |