summaryrefslogtreecommitdiff
path: root/drivers/bus/fslmc
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 /drivers/bus/fslmc
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 'drivers/bus/fslmc')
-rw-r--r--drivers/bus/fslmc/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/bus/fslmc/Makefile b/drivers/bus/fslmc/Makefile
index 45f76d4..de237f0 100644
--- a/drivers/bus/fslmc/Makefile
+++ b/drivers/bus/fslmc/Makefile
@@ -13,6 +13,7 @@ ifeq ($(CONFIG_RTE_LIBRTE_DPAA2_PMD),y)
CONFIG_RTE_LIBRTE_FSLMC_BUS = $(CONFIG_RTE_LIBRTE_DPAA2_PMD)
endif
+CFLAGS += -DALLOW_EXPERIMENTAL_API
ifeq ($(CONFIG_RTE_LIBRTE_DPAA2_DEBUG_INIT),y)
CFLAGS += -O0 -g
CFLAGS += "-Wno-error"