devtools: fix debug build test
When testing build with +debug options, the statistics are enabled.
It was wrongly matching CONFIG_RTE_IBVERBS_LINK_STATIC.
The pattern is fixed to match only statistics config options.
Fixes: 2c0dd7b69f
("config: add static linkage of mlx dependency")
Cc: stable@dpdk.org
Reported-by: Ali Alnubani <alialnu@mellanox.com>
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
This commit is contained in:
parent
c3e89f69fa
commit
924e55fb34
@ -149,7 +149,7 @@ config () # <directory> <target> <options>
|
||||
! echo $3 | grep -q '+debug' || ( \
|
||||
sed -ri="" 's,(RTE_LOG_DP_LEVEL=).*,\1RTE_LOG_DEBUG,' $1/.config
|
||||
sed -ri="" 's,(_DEBUG.*=)n,\1y,' $1/.config
|
||||
sed -ri="" 's,(_STAT.*=)n,\1y,' $1/.config
|
||||
sed -ri="" 's,(_STAT)([S_].*=|=)n,\1\2y,' $1/.config
|
||||
sed -ri="" 's,(TEST_PMD_RECORD_.*=)n,\1y,' $1/.config )
|
||||
|
||||
# Automatic configuration
|
||||
|
Loading…
Reference in New Issue
Block a user