net/xenvirt: fix missing dependency on cmdline lib
authorBruce Richardson <bruce.richardson@intel.com>
Tue, 28 Mar 2017 09:23:33 +0000 (10:23 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 28 Mar 2017 09:51:18 +0000 (11:51 +0200)
Xenvirt driver uses the cmdline lib for parsing ether addresses so add it
as a dependency to fix builds.

Fixes: feb9f680cd2c ("mk: optimize directory dependencies")

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
drivers/net/Makefile

index 07d283b..5b0bc34 100644 (file)
@@ -83,7 +83,7 @@ DEPDIRS-virtio = $(core-libs)
 DIRS-$(CONFIG_RTE_LIBRTE_VMXNET3_PMD) += vmxnet3
 DEPDIRS-vmxnet3 = $(core-libs)
 DIRS-$(CONFIG_RTE_LIBRTE_PMD_XENVIRT) += xenvirt
-DEPDIRS-xenvirt = $(core-libs)
+DEPDIRS-xenvirt = $(core-libs) librte_cmdline
 
 ifeq ($(CONFIG_RTE_LIBRTE_VHOST),y)
 DIRS-$(CONFIG_RTE_LIBRTE_PMD_VHOST) += vhost