1# SPDX-License-Identifier: BSD-3-Clause 2# Copyright(c) 2017 Cavium, Inc 3 4if not is_linux or not dpdk_conf.get('RTE_ARCH_64') 5 build = false 6 reason = 'only supported on 64-bit Linux' 7 subdir_done() 8endif 9 10subdir('base') 11objs = [base_objs] 12 13sources = files( 14 'nicvf_ethdev.c', 15 'nicvf_rxtx.c', 16 'nicvf_svf.c', 17) 18 19if cc.has_argument('-fno-prefetch-loop-arrays') 20 cflags += '-fno-prefetch-loop-arrays' 21endif 22 23if cc.has_argument('-Wno-maybe-uninitialized') 24 cflags += '-Wno-maybe-uninitialized' 25endif 26 27includes += include_directories('base') 28