1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2018 Aquantia Corporation
4 include $(RTE_SDK
)/mk
/rte.vars.mk
9 LIB
= librte_pmd_atlantic.a
12 CFLAGS
+= $(WERROR_FLAGS
)
14 EXPORT_MAP
:= rte_pmd_atlantic_version.map
18 LDLIBS
+= -lrte_eal
-lrte_mbuf
-lrte_mempool
-lrte_ring
19 LDLIBS
+= -lrte_ethdev
-lrte_net
20 LDLIBS
+= -lrte_bus_pci
22 VPATH
+= $(SRCDIR
)/hw_atl
25 # all source are stored in SRCS-y
27 SRCS-
$(CONFIG_RTE_LIBRTE_ATLANTIC_PMD
) += atl_rxtx.c
28 SRCS-
$(CONFIG_RTE_LIBRTE_ATLANTIC_PMD
) += atl_ethdev.c
29 SRCS-
$(CONFIG_RTE_LIBRTE_ATLANTIC_PMD
) += atl_hw_regs.c
30 SRCS-
$(CONFIG_RTE_LIBRTE_ATLANTIC_PMD
) += hw_atl_utils.c
31 SRCS-
$(CONFIG_RTE_LIBRTE_ATLANTIC_PMD
) += hw_atl_llh.c
32 SRCS-
$(CONFIG_RTE_LIBRTE_ATLANTIC_PMD
) += hw_atl_utils_fw2x.c
33 SRCS-
$(CONFIG_RTE_LIBRTE_ATLANTIC_PMD
) += hw_atl_b0.c
34 SRCS-
$(CONFIG_RTE_LIBRTE_ATLANTIC_PMD
) += rte_pmd_atlantic.c
36 include $(RTE_SDK
)/mk
/rte.lib.mk