X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fthunderx%2Fmeson.build;h=4bbcea7f936ebdff8674971aec4be3f7b1a404fa;hb=eeded2044af5bbe88220120b14933536cbb3edb6;hp=23d945811567d72d512c7ad8dc2bd3668efa5ac6;hpb=52c8620022e9a7db15919fddb30491c01ce82cfa;p=dpdk.git diff --git a/drivers/net/thunderx/meson.build b/drivers/net/thunderx/meson.build index 23d9458115..4bbcea7f93 100644 --- a/drivers/net/thunderx/meson.build +++ b/drivers/net/thunderx/meson.build @@ -1,21 +1,27 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Cavium, Inc +if is_windows + build = false + reason = 'not supported on Windows' + subdir_done() +endif + subdir('base') objs = [base_objs] -allow_experimental_apis = true -sources = files('nicvf_rxtx.c', - 'nicvf_ethdev.c', - 'nicvf_svf.c' +sources = files( + 'nicvf_ethdev.c', + 'nicvf_rxtx.c', + 'nicvf_svf.c', ) if cc.has_argument('-fno-prefetch-loop-arrays') - cflags += '-fno-prefetch-loop-arrays' + cflags += '-fno-prefetch-loop-arrays' endif if cc.has_argument('-Wno-maybe-uninitialized') - cflags += '-Wno-maybe-uninitialized' + cflags += '-Wno-maybe-uninitialized' endif includes += include_directories('base')