[dpdk-dev] scripts: enable qede in build test

Message ID 1467192622-26222-1-git-send-email-thomas.monjalon@6wind.com (mailing list archive)
State Accepted, archived
Headers

Commit Message

Thomas Monjalon June 29, 2016, 9:30 a.m. UTC
  The driver qede can be automatically enabled if libz is available.

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

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

Comments

Thomas Monjalon June 29, 2016, 11:28 a.m. UTC | #1
2016-06-29 11:30, Thomas Monjalon:
> The driver qede can be automatically enabled if libz is available.
> 
> Fixes: ec94dbc57362 ("qede: add base driver")
> 
> Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>

Applied
  

Patch

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