X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Focteontx2%2Fmeson.build;h=779a75b5d0ff0000945b585ef4c59f208a85e6b4;hb=41e026c1b3fd07ee6520e3d5d4ec0787d0dac300;hp=04cf58f5c9851ae27b7addb5302f001fe0b2cc6a;hpb=58002ff3d5751c6da9e5cbcc4df3bc384d451f14;p=dpdk.git diff --git a/drivers/net/octeontx2/meson.build b/drivers/net/octeontx2/meson.build index 04cf58f5c9..779a75b5d0 100644 --- a/drivers/net/octeontx2/meson.build +++ b/drivers/net/octeontx2/meson.build @@ -2,6 +2,18 @@ # Copyright(C) 2019 Marvell International Ltd. # +if is_windows + build = false + reason = 'not supported on Windows' + subdir_done() +endif + +if not dpdk_conf.get('RTE_ARCH_64') + build = false + reason = 'only supported on 64-bit' + subdir_done() +endif + sources = files('otx2_rx.c', 'otx2_tx.c', 'otx2_tm.c', @@ -16,6 +28,7 @@ sources = files('otx2_rx.c', 'otx2_lookup.c', 'otx2_ethdev.c', 'otx2_flow_ctrl.c', + 'otx2_flow_dump.c', 'otx2_flow_parse.c', 'otx2_flow_utils.c', 'otx2_ethdev_irq.c', @@ -28,14 +41,7 @@ sources = files('otx2_rx.c', deps += ['bus_pci', 'cryptodev', 'eventdev', 'security'] deps += ['common_octeontx2', 'mempool_octeontx2'] -cflags += ['-flax-vector-conversions'] - -extra_flags = [] -# This integrated controller runs only on a arm64 machine, remove 32bit warnings -if not dpdk_conf.get('RTE_ARCH_64') - extra_flags += ['-Wno-int-to-pointer-cast', '-Wno-pointer-to-int-cast'] -endif - +extra_flags = ['-flax-vector-conversions'] foreach flag: extra_flags if cc.has_argument(flag) cflags += flag