2019-10-10 06:32:22 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
# Copyright 2019 NXP
|
|
|
|
|
2020-06-29 20:31:19 +00:00
|
|
|
if not is_linux
|
2019-10-10 06:32:22 +00:00
|
|
|
build = false
|
2020-06-29 20:31:19 +00:00
|
|
|
reason = 'only supported on Linux'
|
2019-10-10 06:32:22 +00:00
|
|
|
endif
|
2019-10-31 07:14:10 +00:00
|
|
|
deps += ['common_dpaax']
|
2019-10-10 06:32:22 +00:00
|
|
|
|
2019-10-10 06:32:26 +00:00
|
|
|
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')
|