summaryrefslogtreecommitdiff
path: root/lib/librte_bbdev
diff options
context:
space:
mode:
authorNeil Horman <nhorman@tuxdriver.com>2018-01-21 20:48:05 -0500
committerThomas Monjalon <thomas@monjalon.net>2018-01-29 23:35:29 +0100
commita6ec31597a0b1f6b6ddf21546f76bbb280f62c37 (patch)
tree31ebf03bab5df9726bb93c021b315e1bfa94b2b9 /lib/librte_bbdev
parent77b7b81e32e94e79d2a65b259769ae11725be8bf (diff)
downloaddpdk-a6ec31597a0b1f6b6ddf21546f76bbb280f62c37.zip
dpdk-a6ec31597a0b1f6b6ddf21546f76bbb280f62c37.tar.gz
dpdk-a6ec31597a0b1f6b6ddf21546f76bbb280f62c37.tar.xz
mk: add experimental tag check
Add checks during build to ensure that all symbols in the EXPERIMENTAL version map section have __experimental tags on their definitions, and enable the warnings needed to announce their use. Also add an ALLOW_EXPERIMENTAL_APIS define to allow individual libraries and files to declare the acceptability of experimental api usage Signed-off-by: Neil Horman <nhorman@tuxdriver.com> Acked-by: Thomas Monjalon <thomas@monjalon.net>
Diffstat (limited to 'lib/librte_bbdev')
-rw-r--r--lib/librte_bbdev/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/librte_bbdev/Makefile b/lib/librte_bbdev/Makefile
index f9bf960..1451adb 100644
--- a/lib/librte_bbdev/Makefile
+++ b/lib/librte_bbdev/Makefile
@@ -10,6 +10,7 @@ LIB = librte_bbdev.a
LIBABIVER := 1
# build flags
+CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
LDLIBS += -lrte_eal -lrte_mempool -lrte_mbuf