2018-01-08 10:55:16 +05:30
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
# Copyright(c) 2017 Cavium, Inc
|
2017-03-25 11:54:12 +05:30
|
|
|
#
|
|
|
|
|
|
|
|
include $(RTE_SDK)/mk/rte.vars.mk
|
|
|
|
|
|
|
|
#
|
|
|
|
# library name
|
|
|
|
#
|
|
|
|
LIB = librte_pmd_lio.a
|
|
|
|
|
|
|
|
CFLAGS += -O3
|
|
|
|
CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR)/base -I$(SRCDIR)
|
2017-10-12 18:04:21 +02:00
|
|
|
LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
|
|
|
|
LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs
|
2017-10-26 12:06:08 +02:00
|
|
|
LDLIBS += -lrte_bus_pci
|
2017-03-25 11:54:12 +05:30
|
|
|
|
2018-06-08 22:20:44 +01:00
|
|
|
EXPORT_MAP := rte_pmd_liquidio_version.map
|
2017-03-25 11:54:12 +05:30
|
|
|
|
|
|
|
LIBABIVER := 1
|
|
|
|
|
|
|
|
VPATH += $(RTE_SDK)/drivers/net/liquidio/base
|
|
|
|
|
|
|
|
#
|
|
|
|
# all source are stored in SRCS-y
|
|
|
|
#
|
2017-03-25 11:54:15 +05:30
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_LIO_PMD) += lio_ethdev.c
|
2017-03-25 11:54:24 +05:30
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_LIO_PMD) += lio_rxtx.c
|
2017-03-25 11:54:17 +05:30
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_LIO_PMD) += lio_23xx_vf.c
|
2017-03-25 11:54:20 +05:30
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_LIO_PMD) += lio_mbox.c
|
2017-03-25 11:54:12 +05:30
|
|
|
|
|
|
|
include $(RTE_SDK)/mk/rte.lib.mk
|