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 <thomas.monjalon@6wind.com>
LDLIBS += -lrte_pmd_af_packet
endif
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
endif # plugins
endif # ! CONFIG_RTE_BUILD_COMBINE_LIBS