52c8620022
Use the new API to wait in low power state instead of continuous polling to save CPU cycles and power. Signed-off-by: Gavin Hu <gavin.hu@arm.com> Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com> Acked-by: Jerin Jacob <jerinj@marvell.com>
22 lines
436 B
Meson
22 lines
436 B
Meson
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright(c) 2017 Cavium, Inc
|
|
|
|
subdir('base')
|
|
objs = [base_objs]
|
|
|
|
allow_experimental_apis = true
|
|
sources = files('nicvf_rxtx.c',
|
|
'nicvf_ethdev.c',
|
|
'nicvf_svf.c'
|
|
)
|
|
|
|
if cc.has_argument('-fno-prefetch-loop-arrays')
|
|
cflags += '-fno-prefetch-loop-arrays'
|
|
endif
|
|
|
|
if cc.has_argument('-Wno-maybe-uninitialized')
|
|
cflags += '-Wno-maybe-uninitialized'
|
|
endif
|
|
|
|
includes += include_directories('base')
|