799500b0a7bf88cf1f91488cb653bfb8030dea89
[dpdk.git] / drivers / net / pfe / meson.build
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright 2019 NXP
3
4 if host_machine.system() != 'linux'
5         build = false
6 endif
7 deps += ['bus_dpaa']
8
9 sources = files('pfe_ethdev.c',
10                 'pfe_hal.c',
11                 'pfe_hif_lib.c',
12                 'pfe_hif.c')
13
14 if cc.has_argument('-Wno-pointer-arith')
15         cflags += '-Wno-pointer-arith'
16 endif
17
18 # Driver uses below experimental APIs
19 # rte_mem_iova2virt
20 # rte_mem_virt2memseg
21 allow_experimental_apis = true
22
23 includes += include_directories('base')