build: disable experimental API check internally
[dpdk.git] / drivers / crypto / snow3g / Makefile
index 438119c..469aefa 100644 (file)
@@ -9,7 +9,6 @@ LIB = librte_pmd_snow3g.a
 # build flags
 CFLAGS += -O3
 CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
 
 # versioning export map
 EXPORT_MAP := rte_pmd_snow3g_version.map
@@ -20,7 +19,8 @@ LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
 LDLIBS += -lrte_cryptodev
 LDLIBS += -lrte_bus_vdev
 
-IMB_HDR = $(shell echo '\#include <intel-ipsec-mb.h>' | \
+H := \#
+IMB_HDR = $(shell echo '$Hinclude <intel-ipsec-mb.h>' | \
        $(CC) -E $(EXTRA_CFLAGS) - | grep 'intel-ipsec-mb.h' | \
        head -n1 | cut -d'"' -f2)