X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fcommon%2Fdpaax%2Fmeson.build;h=a1627791161ac9b870ca2643c0bd2f253a50f0bd;hb=06c047b680615678bb8773faaec53156ade94770;hp=a315e7786b1a1fd6a4325a469d72ee3edf6feb4b;hpb=530588f3cd50d5626cfa2b94e161b97e97d84ade;p=dpdk.git diff --git a/drivers/common/dpaax/meson.build b/drivers/common/dpaax/meson.build index a315e7786b..a162779116 100644 --- a/drivers/common/dpaax/meson.build +++ b/drivers/common/dpaax/meson.build @@ -1,13 +1,18 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2018 NXP -allow_experimental_apis = true - if not is_linux - build = false - reason = 'only supported on linux' + build = false + reason = 'only supported on Linux' endif -sources = files('dpaax_iova_table.c') +sources = files('dpaax_iova_table.c', 'dpaa_of.c', 'caamflib.c') + +includes += include_directories('caamflib') -cflags += ['-D_GNU_SOURCE'] +if cc.has_argument('-Wno-cast-qual') + cflags += '-Wno-cast-qual' +endif +if cc.has_argument('-Wno-pointer-arith') + cflags += '-Wno-pointer-arith' +endif