telemetry: add client feature and sockets
[dpdk.git] / devtools / test-build.sh
index d26a9f3..42f4ad0 100755 (executable)
@@ -10,6 +10,7 @@ default_path=$PATH
 # - DPDK_DEP_ARCHIVE
 # - DPDK_DEP_CFLAGS
 # - DPDK_DEP_ISAL (y/[n])
+# - DPDK_DEP_JSON (y/[n])
 # - DPDK_DEP_LDFLAGS
 # - DPDK_DEP_MLX (y/[n])
 # - DPDK_DEP_NUMA ([y]/n)
@@ -96,6 +97,7 @@ reset_env ()
        unset DPDK_DEP_ARCHIVE
        unset DPDK_DEP_CFLAGS
        unset DPDK_DEP_ISAL
+       unset DPDK_DEP_JSON
        unset DPDK_DEP_LDFLAGS
        unset DPDK_DEP_MLX
        unset DPDK_DEP_NUMA
@@ -184,6 +186,8 @@ config () # <directory> <target> <options>
                sed -ri          's,(MVPP2_PMD=)n,\1y,' $1/.config
                test -z "$LIBMUSDK_PATH" || \
                sed -ri         's,(MVNETA_PMD=)n,\1y,' $1/.config
+               test -z "$DPDK_DEP_JSON" || \
+               sed -ri          's,(TELEMETRY=)n,\1y,' $1/.config
                build_config_hook $1 $2 $3
 
                # Explicit enabler/disabler (uppercase)