[dpdk-dev] [PATCH] app: fix proc_info app dependency

Thomas Monjalon thomas at monjalon.net
Fri Jan 12 15:59:03 CET 2018


12/01/2018 15:17, Anatoly Burakov:
> proc_info app is compiled unconditionally on Linux, but it's
> actually dependent on librte_ethdev library, which prevents
> DPDK from building without librte_ethdev library enabled.
> 
> Fixes: 22561383ea17 ("app: replace dump_cfg by proc_info")
> Cc: maryam.tahhan at intel.com
> Cc: stable at dpdk.org

nit: please insert a blank line here

> Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
> ---
>  DIRS-$(CONFIG_RTE_TEST_PMD) += test-pmd
> -DIRS-$(CONFIG_RTE_EXEC_ENV_LINUXAPP) += proc_info
> +ifeq ($(CONFIG_RTE_EXEC_ENV_LINUXAPP),y)
> +DIRS-$(CONFIG_RTE_LIBRTE_ETHER) += proc_info
> +endif
>  DIRS-$(CONFIG_RTE_LIBRTE_PDUMP) += pdump

What about pdump and testpmd?

I guess a lot of things do not compile without ethdev, isn't it?


More information about the dev mailing list