summaryrefslogtreecommitdiff
path: root/examples/eventdev_pipeline
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 /examples/eventdev_pipeline
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 'examples/eventdev_pipeline')
-rw-r--r--examples/eventdev_pipeline/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/eventdev_pipeline/Makefile b/examples/eventdev_pipeline/Makefile
index 94b4c86..5cdb076 100644
--- a/examples/eventdev_pipeline/Makefile
+++ b/examples/eventdev_pipeline/Makefile
@@ -18,6 +18,7 @@ SRCS-y := main.c
SRCS-y += pipeline_worker_generic.c
SRCS-y += pipeline_worker_tx.c
+CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)