The driver qede can be automatically enabled if libz is available.

Fixes: ec94dbc57362 ("qede: add base driver")

Signed-off-by: Thomas Monjalon <thomas.monjalon at 6wind.com>
---
 scripts/test-build.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/scripts/test-build.sh b/scripts/test-build.sh
index 7a9f623..24c0202 100755
--- a/scripts/test-build.sh
+++ b/scripts/test-build.sh
@@ -162,6 +162,8 @@ config () # <directory> <target> <options>
                sed -ri       's,(PMD_SZEDATA2=)n,\1y,' $1/.config
                test "$DPDK_DEP_ZLIB" != y || \
                sed -ri          's,(BNX2X_PMD=)n,\1y,' $1/.config
+               test "$DPDK_DEP_ZLIB" != y || \
+               sed -ri           's,(QEDE_PMD=)n,\1y,' $1/.config
                sed -ri            's,(NFP_PMD=)n,\1y,' $1/.config
                test "$DPDK_DEP_PCAP" != y || \
                sed -ri               's,(PCAP=)n,\1y,' $1/.config
-- 
2.7.0

Reply via email to