summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk')
-rw-r--r--mk/rte.app.mk8
1 files changed, 6 insertions, 2 deletions
diff --git a/mk/rte.app.mk b/mk/rte.app.mk
index 324021f..728e5b5 100644
--- a/mk/rte.app.mk
+++ b/mk/rte.app.mk
@@ -72,8 +72,8 @@ ifeq ($(CONFIG_RTE_LIBRTE_IXGBE_PMD),y)
LDLIBS += -lrte_pmd_ixgbe
endif
-ifeq ($(CONFIG_RTE_LIBRTE_MBUF),y)
-LDLIBS += -lrte_mbuf
+ifeq ($(CONFIG_RTE_LIBRTE_VIRTIO_PMD),y)
+LDLIBS += -lrte_pmd_virtio
endif
ifeq ($(CONFIG_RTE_LIBRTE_CMDLINE),y)
@@ -112,6 +112,10 @@ endif
LDLIBS += --start-group
+ifeq ($(CONFIG_RTE_LIBRTE_MBUF),y)
+LDLIBS += -lrte_mbuf
+endif
+
ifeq ($(CONFIG_RTE_LIBRTE_ETHER),y)
LDLIBS += -lethdev
endif