X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fipn3ke%2Fmeson.build;h=4bf739809e4612c6a6a910f6732790c5b1e11438;hb=3186a3a49c3a33502ba6189a80b8317c0a064830;hp=ec9cb7daf01286d9ed228578c1e84ad30c4232e7;hpb=acec04c4b2f5c75d244319e1d0ca17ea7d4da72d;p=dpdk.git diff --git a/drivers/net/ipn3ke/meson.build b/drivers/net/ipn3ke/meson.build index ec9cb7daf0..4bf739809e 100644 --- a/drivers/net/ipn3ke/meson.build +++ b/drivers/net/ipn3ke/meson.build @@ -1,6 +1,12 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2019 Intel Corporation +if is_windows + build = false + reason = 'not supported on Windows' + subdir_done() +endif + # # Add the experimenatal APIs called from this PMD # rte_eth_switch_domain_alloc() @@ -9,20 +15,18 @@ # rte_eth_switch_domain_free() # -dep = dependency('libfdt', required: false) -if not dep.found() - dep = cc.find_library('libfdt', required: false) -endif -if not dep.found() - build = false - reason = 'missing dependency, "libfdt"' - subdir_done() +if has_libfdt == 0 + build = false + reason = 'missing dependency, "libfdt"' + subdir_done() endif includes += include_directories('../../raw/ifpga') -sources += files('ipn3ke_ethdev.c', - 'ipn3ke_representor.c', - 'ipn3ke_tm.c', - 'ipn3ke_flow.c') +sources += files( + 'ipn3ke_ethdev.c', + 'ipn3ke_flow.c', + 'ipn3ke_representor.c', + 'ipn3ke_tm.c', +) deps += ['bus_ifpga', 'ethdev', 'sched']