build: increase readability via shortcut variables
authorBruce Richardson <bruce.richardson@intel.com>
Tue, 9 Apr 2019 10:55:36 +0000 (11:55 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 17 Apr 2019 16:09:52 +0000 (18:09 +0200)
commitadf93ca564c73183e1c705cd7f35b98f3a660228
tree43da96af2eb274a918071d2931ddfdab1b87a390
parentb458c2927ab416fd7becfbc740ccfa53f0dfbdd1
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>
44 files changed:
app/meson.build
buildtools/meson.build
config/meson.build
config/x86/meson.build
doc/guides/contributing/coding_style.rst
drivers/bus/dpaa/meson.build
drivers/bus/fslmc/meson.build
drivers/bus/pci/meson.build
drivers/bus/vmbus/meson.build
drivers/common/dpaax/meson.build
drivers/crypto/caam_jr/meson.build
drivers/crypto/ccp/meson.build
drivers/crypto/dpaa2_sec/meson.build
drivers/crypto/dpaa_sec/meson.build
drivers/crypto/octeontx/meson.build
drivers/event/dpaa/meson.build
drivers/event/dpaa2/meson.build
drivers/mempool/dpaa/meson.build
drivers/mempool/dpaa2/meson.build
drivers/meson.build
drivers/net/af_packet/meson.build
drivers/net/avp/meson.build
drivers/net/axgbe/meson.build
drivers/net/dpaa/meson.build
drivers/net/dpaa2/meson.build
drivers/net/enetc/meson.build
drivers/net/failsafe/meson.build
drivers/net/nfp/meson.build
drivers/net/softnic/meson.build
drivers/net/tap/meson.build
drivers/net/vdev_netvsc/meson.build
drivers/net/virtio/meson.build
examples/l3fwd-power/meson.build
examples/meson.build
examples/tep_termination/meson.build
examples/vdpa/meson.build
examples/vhost/meson.build
examples/vhost_scsi/meson.build
kernel/meson.build
lib/librte_eventdev/meson.build
lib/librte_kni/meson.build
lib/librte_power/meson.build
lib/librte_vhost/meson.build
lib/meson.build