X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fbus%2Fdpaa%2Fmeson.build;h=c2cffa4943eafab7681a60052f3a173ac66c4991;hb=72f82c4324fb633d51a6a0f0e237f560d96cb1d7;hp=f5c6d7bb6152f59313fd8ba915c8355aec9cc284;hpb=6ec78c2463acdd06560d09e3fb1056d2b1ec0c68;p=dpdk.git diff --git a/drivers/bus/dpaa/meson.build b/drivers/bus/dpaa/meson.build index f5c6d7bb61..c2cffa4943 100644 --- a/drivers/bus/dpaa/meson.build +++ b/drivers/bus/dpaa/meson.build @@ -1,15 +1,15 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright 2018 NXP -if host_machine.system() != 'linux' - build = false +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', - 'base/fman/of.c', 'base/qbman/bman.c', 'base/qbman/bman_driver.c', 'base/qbman/dpaa_alloc.c', @@ -19,11 +19,11 @@ sources = files('base/fman/fman.c', 'base/qbman/qman_driver.c', 'dpaa_bus.c') -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']