X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fpfe%2Fmeson.build;h=da0787c28c11d7fcd61b08a7701e3751c78a2c70;hb=c6a9a6fb57eae381198a39270ec8271734173f11;hp=fa5dfad69826ad905ddf8a773613c59c2ee38ad3;hpb=67fc3ff97c39fd005f2a4ee5f5c7f06208871baa;p=dpdk.git diff --git a/drivers/net/pfe/meson.build b/drivers/net/pfe/meson.build index fa5dfad698..da0787c28c 100644 --- a/drivers/net/pfe/meson.build +++ b/drivers/net/pfe/meson.build @@ -1,9 +1,19 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright 2019 NXP -if host_machine.system() != 'linux' +if not is_linux build = false + reason = 'only supported on Linux' endif -deps += ['bus_dpaa'] +deps += ['common_dpaax'] -sources = files('pfe_ethdev.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' +endif + +includes += include_directories('base')