2018-10-12 11:09:03 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
# Copyright(c) 2018 Aquantia Corporation
|
|
|
|
|
|
|
|
include $(RTE_SDK)/mk/rte.vars.mk
|
|
|
|
|
|
|
|
#
|
|
|
|
# library name
|
|
|
|
#
|
|
|
|
LIB = librte_pmd_atlantic.a
|
|
|
|
|
|
|
|
CFLAGS += -O3
|
|
|
|
CFLAGS += $(WERROR_FLAGS)
|
|
|
|
|
|
|
|
EXPORT_MAP := rte_pmd_atlantic_version.map
|
|
|
|
|
2018-10-12 11:09:25 +00:00
|
|
|
LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
|
2018-10-12 11:09:03 +00:00
|
|
|
LDLIBS += -lrte_ethdev -lrte_net
|
|
|
|
LDLIBS += -lrte_bus_pci
|
|
|
|
|
2018-10-12 11:09:11 +00:00
|
|
|
VPATH += $(SRCDIR)/hw_atl
|
|
|
|
|
2018-10-12 11:09:03 +00:00
|
|
|
#
|
|
|
|
# all source are stored in SRCS-y
|
|
|
|
#
|
2018-10-12 11:09:22 +00:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_ATLANTIC_PMD) += atl_rxtx.c
|
2018-10-12 11:09:03 +00:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_ATLANTIC_PMD) += atl_ethdev.c
|
2018-10-12 11:09:08 +00:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_ATLANTIC_PMD) += atl_hw_regs.c
|
2018-10-12 11:09:14 +00:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_ATLANTIC_PMD) += hw_atl_utils.c
|
2018-10-12 11:09:11 +00:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_ATLANTIC_PMD) += hw_atl_llh.c
|
2018-10-12 11:09:14 +00:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_ATLANTIC_PMD) += hw_atl_utils_fw2x.c
|
2018-10-12 11:09:17 +00:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_ATLANTIC_PMD) += hw_atl_b0.c
|
2019-04-18 11:39:51 +00:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_ATLANTIC_PMD) += rte_pmd_atlantic.c
|
2018-10-12 11:09:03 +00:00
|
|
|
|
|
|
|
include $(RTE_SDK)/mk/rte.lib.mk
|