From: Thomas Monjalon Date: Thu, 9 Apr 2015 17:34:17 +0000 (+0200) Subject: mk: fix static linking with null pmd X-Git-Tag: spdx-start~9324 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=9c283ffe2c72ba8686f93edf508f165e18a0e0fd;p=dpdk.git mk: fix static linking with null pmd Null PMD was not found when using a statically linked application: EAL: no driver found for eth_null1 EAL: failed to initialize eth_null1 device Fixes: c743e50c475f ("null: new poll mode driver") Signed-off-by: Thomas Monjalon --- diff --git a/mk/rte.app.mk b/mk/rte.app.mk index aa8af7923e..62a76aede3 100644 --- a/mk/rte.app.mk +++ b/mk/rte.app.mk @@ -251,6 +251,10 @@ ifeq ($(CONFIG_RTE_LIBRTE_PMD_AF_PACKET),y) LDLIBS += -lrte_pmd_af_packet endif +ifeq ($(CONFIG_RTE_LIBRTE_PMD_NULL),y) +LDLIBS += -lrte_pmd_null +endif + endif # plugins endif # ! CONFIG_RTE_BUILD_COMBINE_LIBS