X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fthunderx%2Fmeson.build;h=4bbcea7f936ebdff8674971aec4be3f7b1a404fa;hb=f7c3f3c2903b88cdf2cb4fc8bf2429d18c345745;hp=69819a97fad630f925342a392fdd810760e847e7;hpb=7f615033d64f5bbb47bf6000ad209336e371020c;p=dpdk.git diff --git a/drivers/net/thunderx/meson.build b/drivers/net/thunderx/meson.build index 69819a97fa..4bbcea7f93 100644 --- a/drivers/net/thunderx/meson.build +++ b/drivers/net/thunderx/meson.build @@ -1,20 +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] -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')