summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorIlya Maximets <i.maximets@samsung.com>2018-10-04 16:18:35 +0300
committerFerruh Yigit <ferruh.yigit@intel.com>2018-10-26 22:14:06 +0200
commitb9788afec528f03a252d206e7426cb301c162ee5 (patch)
treef5cc56118146091beb6c82d2aff2ec53fa533310 /drivers
parent4f1ed78ebd26f2393fd3cf29a9a9fa95ce14eb44 (diff)
downloaddpdk-b9788afec528f03a252d206e7426cb301c162ee5.zip
dpdk-b9788afec528f03a252d206e7426cb301c162ee5.tar.gz
dpdk-b9788afec528f03a252d206e7426cb301c162ee5.tar.xz
net/*/base: allow experimental APIs
This functionality was missed while adding new drivers to the meson build. Fixes: bfabd06000c0 ("net/avf: support meson build") Fixes: 30d3d0168301 ("net/qede: add in meson build") Signed-off-by: Ilya Maximets <i.maximets@samsung.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/avf/base/meson.build3
-rw-r--r--drivers/net/qede/base/meson.build3
2 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/avf/base/meson.build b/drivers/net/avf/base/meson.build
index 90fd6b4..6f3d719 100644
--- a/drivers/net/avf/base/meson.build
+++ b/drivers/net/avf/base/meson.build
@@ -8,6 +8,9 @@ sources = [
error_cflags = ['-Wno-pointer-to-int-cast']
c_args = cflags
+if allow_experimental_apis
+ c_args += '-DALLOW_EXPERIMENTAL_API'
+endif
foreach flag: error_cflags
if cc.has_argument(flag)
c_args += flag
diff --git a/drivers/net/qede/base/meson.build b/drivers/net/qede/base/meson.build
index 59b41c8..71b8973 100644
--- a/drivers/net/qede/base/meson.build
+++ b/drivers/net/qede/base/meson.build
@@ -45,6 +45,9 @@ error_cflags = [
'-Wno-pointer-bool-conversion',
]
c_args = cflags
+if allow_experimental_apis
+ c_args += '-DALLOW_EXPERIMENTAL_API'
+endif
foreach flag: error_cflags
if cc.has_argument(flag)
c_args += flag