X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fbus%2Fdpaa%2Fmeson.build;h=c2cffa4943eafab7681a60052f3a173ac66c4991;hb=3684541b86f5277d9cd17667c13c08d93180fb04;hp=1c8ca8c9a424e57daedac0dcb9ea8cadab1fbc96;hpb=adf93ca564c73183e1c705cd7f35b98f3a660228;p=dpdk.git diff --git a/drivers/bus/dpaa/meson.build b/drivers/bus/dpaa/meson.build index 1c8ca8c9a4..c2cffa4943 100644 --- a/drivers/bus/dpaa/meson.build +++ b/drivers/bus/dpaa/meson.build @@ -1,17 +1,15 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright 2018 NXP -version = 2 - if not is_linux - build = false + build = false + reason = 'only supported on linux' endif 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', @@ -21,10 +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')