f-stack/dpdk/drivers/net/liquidio/Makefile

31 lines
709 B
Makefile
Raw Normal View History

2019-06-25 11:12:58 +00:00
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2017 Cavium, Inc
#
2017-04-21 10:43:26 +00:00
include $(RTE_SDK)/mk/rte.vars.mk
#
2017-04-21 10:43:26 +00:00
# library name
#
LIB = librte_pmd_lio.a
2017-04-21 10:43:26 +00:00
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR)/base -I$(SRCDIR)
LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs
LDLIBS += -lrte_bus_pci
2017-04-21 10:43:26 +00:00
2019-06-25 11:12:58 +00:00
EXPORT_MAP := rte_pmd_liquidio_version.map
2017-04-21 10:43:26 +00:00
VPATH += $(RTE_SDK)/drivers/net/liquidio/base
2017-04-21 10:43:26 +00:00
#
# all source are stored in SRCS-y
#
SRCS-$(CONFIG_RTE_LIBRTE_LIO_PMD) += lio_ethdev.c
SRCS-$(CONFIG_RTE_LIBRTE_LIO_PMD) += lio_rxtx.c
SRCS-$(CONFIG_RTE_LIBRTE_LIO_PMD) += lio_23xx_vf.c
SRCS-$(CONFIG_RTE_LIBRTE_LIO_PMD) += lio_mbox.c
2017-04-21 10:43:26 +00:00
include $(RTE_SDK)/mk/rte.lib.mk