X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fpfe%2Fmeson.build;h=684b062090a75f85a7c50a7132eb3c3be3a2cce0;hb=49ed322469e4b0816551cf794b8c2394729a0cb2;hp=678ce49a9dd456dc73bd02b033edc59b41cb9740;hpb=c86d9b355f376a8600a21d247d159e864a301053;p=dpdk.git diff --git a/drivers/net/pfe/meson.build b/drivers/net/pfe/meson.build index 678ce49a9d..684b062090 100644 --- a/drivers/net/pfe/meson.build +++ b/drivers/net/pfe/meson.build @@ -1,23 +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 -# Driver uses below experimental APIs -# rte_mem_iova2virt -# rte_mem_virt2memseg -allow_experimental_apis = true - includes += include_directories('base')