X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fpfe%2Fmeson.build;h=684b062090a75f85a7c50a7132eb3c3be3a2cce0;hb=49ed322469e4b0816551cf794b8c2394729a0cb2;hp=3e1a228a3ffcb5ba9bd07d562aa88b576e4fab22;hpb=acec04c4b2f5c75d244319e1d0ca17ea7d4da72d;p=dpdk.git diff --git a/drivers/net/pfe/meson.build b/drivers/net/pfe/meson.build index 3e1a228a3f..684b062090 100644 --- a/drivers/net/pfe/meson.build +++ b/drivers/net/pfe/meson.build @@ -1,18 +1,21 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright 2019 NXP -if host_machine.system() != 'linux' - build = false +if not is_linux + build = false + reason = 'only supported on Linux' endif deps += ['common_dpaax'] -sources = files('pfe_ethdev.c', - 'pfe_hal.c', - 'pfe_hif_lib.c', - 'pfe_hif.c') +sources = files( + 'pfe_ethdev.c', + 'pfe_hal.c', + 'pfe_hif_lib.c', + 'pfe_hif.c', +) if cc.has_argument('-Wno-pointer-arith') - cflags += '-Wno-pointer-arith' + cflags += '-Wno-pointer-arith' endif includes += include_directories('base')