X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fbus%2Fdpaa%2Fmeson.build;h=c9c3b2415e2f8b8b70ec1c432760ced26e71f93b;hb=524a0d5d66b9;hp=f5c6d7bb6152f59313fd8ba915c8355aec9cc284;hpb=6ec78c2463acdd06560d09e3fb1056d2b1ec0c68;p=dpdk.git diff --git a/drivers/bus/dpaa/meson.build b/drivers/bus/dpaa/meson.build index f5c6d7bb61..c9c3b2415e 100644 --- a/drivers/bus/dpaa/meson.build +++ b/drivers/bus/dpaa/meson.build @@ -1,11 +1,14 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright 2018 NXP -if host_machine.system() != 'linux' - build = false +version = 2 + +if not is_linux + build = false + reason = 'only supported on linux' endif -deps += ['ethdev', 'eventdev'] +deps += ['common_dpaax', 'eventdev'] sources = files('base/fman/fman.c', 'base/fman/fman_hw.c', 'base/fman/netcfg_layer.c', @@ -24,6 +27,8 @@ allow_experimental_apis = true if cc.has_argument('-Wno-cast-qual') cflags += '-Wno-cast-qual' endif +if cc.has_argument('-Wno-pointer-arith') + cflags += '-Wno-pointer-arith' +endif includes += include_directories('include', 'base/qbman') -cflags += ['-D_GNU_SOURCE']