[PATCH dpdk 1/2] lib: remove cmdline from always enabled libraries

Robin Jarry rjarry at redhat.com
Wed Oct 14 21:21:54 CEST 2026


This library is not used by any driver nor other library:

	$ git grep -l '#include <cmdline.*\.h>' -- \
		':!:app/' ':!:examples/' ':!:*testpmd*'
	buildtools/dpdk-cmdline-gen.py
	lib/cmdline/cmdline.h
	lib/cmdline/cmdline_parse_bool.h
	lib/cmdline/cmdline_parse_etheraddr.h
	lib/cmdline/cmdline_parse_ipaddr.h
	lib/cmdline/cmdline_parse_num.h
	lib/cmdline/cmdline_parse_portlist.h
	lib/cmdline/cmdline_parse_string.h
	lib/cmdline/cmdline_rdline.h
	lib/cmdline/cmdline_socket.h

The only apps and examples where it is actually used already have an
explicit dependency. There is no point in always enabling it.

Signed-off-by: Robin Jarry <rjarry at redhat.com>
---
 lib/meson.build | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/meson.build b/lib/meson.build
index af5c160cb800..72ac21b5fa86 100644
--- a/lib/meson.build
+++ b/lib/meson.build
@@ -72,7 +72,6 @@ libraries = [
 
 always_enable = [
         'argparse',
-        'cmdline',
         'eal',
         'ethdev',
         'hash',
-- 
2.56.0



More information about the dev mailing list