[PATCH dpdk 1/2] lib: remove cmdline from always enabled libraries
Bruce Richardson
bruce.richardson at intel.com
Thu Oct 15 11:54:45 CEST 2026
On Wed, Oct 14, 2026 at 09:21:54PM +0200, Robin Jarry wrote:
> 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.
>
The original idea was to ensure that testpmd was always buildable even if
all libs were disabled, but there's no reason why we need that requirement,
so dropping this is ok.
> Signed-off-by: Robin Jarry <rjarry at redhat.com>
> ---
> lib/meson.build | 1 -
> 1 file changed, 1 deletion(-)
>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
More information about the dev
mailing list