xref: /dpdk/drivers/net/pfe/meson.build (revision 4ad4b20a79052d9c8062b64eaf0170c16a333ff8)
167fc3ff9SGagandeep Singh# SPDX-License-Identifier: BSD-3-Clause
267fc3ff9SGagandeep Singh# Copyright 2019 NXP
367fc3ff9SGagandeep Singh
44f299b71SThomas Monjalonif not is_linux
567fc3ff9SGagandeep Singh    build = false
64f299b71SThomas Monjalon    reason = 'only supported on Linux'
767fc3ff9SGagandeep Singhendif
8c86d9b35SGagandeep Singhdeps += ['common_dpaax']
967fc3ff9SGagandeep Singh
10*4ad4b20aSBruce Richardsonsources = files(
11*4ad4b20aSBruce Richardson        'pfe_ethdev.c',
125253fe37SGagandeep Singh        'pfe_hal.c',
135253fe37SGagandeep Singh        'pfe_hif_lib.c',
14*4ad4b20aSBruce Richardson        'pfe_hif.c',
15*4ad4b20aSBruce Richardson)
165253fe37SGagandeep Singh
175253fe37SGagandeep Singhif cc.has_argument('-Wno-pointer-arith')
185253fe37SGagandeep Singh    cflags += '-Wno-pointer-arith'
195253fe37SGagandeep Singhendif
205253fe37SGagandeep Singh
215253fe37SGagandeep Singhincludes += include_directories('base')
22