X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fsoftnic%2Fmeson.build;h=aff5fb3bf2ce0286d18fbe99ff9acdd13826995e;hb=21b1677d87a23a9695be0cbcbdf38607a2d58f84;hp=a18eef59659f941d305aba113e931a9981ba33af;hpb=29fe4822f5022d26164ab4a0d1922e62f673cadd;p=dpdk.git diff --git a/drivers/net/softnic/meson.build b/drivers/net/softnic/meson.build index a18eef5965..aff5fb3bf2 100644 --- a/drivers/net/softnic/meson.build +++ b/drivers/net/softnic/meson.build @@ -1,21 +1,26 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2018 Intel Corporation -allow_experimental_apis = true -install_headers('rte_eth_softnic.h') -sources = files('rte_eth_softnic_tm.c', - 'rte_eth_softnic.c', - 'rte_eth_softnic_mempool.c', - 'rte_eth_softnic_swq.c', - 'rte_eth_softnic_link.c', - 'rte_eth_softnic_tap.c', - 'rte_eth_softnic_action.c', - 'rte_eth_softnic_pipeline.c', - 'rte_eth_softnic_thread.c', - 'rte_eth_softnic_cli.c', - 'rte_eth_softnic_flow.c', - 'rte_eth_softnic_meter.c', - 'rte_eth_softnic_cryptodev.c', - 'parser.c', - 'conn.c') +if not is_linux + build = false + reason = 'only supported on Linux' +endif +headers = files('rte_eth_softnic.h') +sources = files( + 'conn.c', + 'parser.c', + 'rte_eth_softnic.c', + 'rte_eth_softnic_action.c', + 'rte_eth_softnic_cli.c', + 'rte_eth_softnic_cryptodev.c', + 'rte_eth_softnic_flow.c', + 'rte_eth_softnic_link.c', + 'rte_eth_softnic_mempool.c', + 'rte_eth_softnic_meter.c', + 'rte_eth_softnic_pipeline.c', + 'rte_eth_softnic_swq.c', + 'rte_eth_softnic_tap.c', + 'rte_eth_softnic_thread.c', + 'rte_eth_softnic_tm.c', +) deps += ['pipeline', 'port', 'table', 'sched', 'cryptodev']