net/atlantic: add hardware access layer
[dpdk.git] / drivers / net / atlantic / Makefile
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2018 Aquantia Corporation
3
4 include $(RTE_SDK)/mk/rte.vars.mk
5
6 #
7 # library name
8 #
9 LIB = librte_pmd_atlantic.a
10
11 CFLAGS += -O3
12 CFLAGS += $(WERROR_FLAGS)
13
14 EXPORT_MAP := rte_pmd_atlantic_version.map
15
16 LIBABIVER := 1
17
18 LDLIBS += -lrte_eal
19 LDLIBS += -lrte_ethdev -lrte_net
20 LDLIBS += -lrte_bus_pci
21
22 VPATH += $(SRCDIR)/hw_atl
23
24 #
25 # all source are stored in SRCS-y
26 #
27 SRCS-$(CONFIG_RTE_LIBRTE_ATLANTIC_PMD) += atl_ethdev.c
28 SRCS-$(CONFIG_RTE_LIBRTE_ATLANTIC_PMD) += atl_hw_regs.c
29 SRCS-$(CONFIG_RTE_LIBRTE_ATLANTIC_PMD) += hw_atl_llh.c
30
31 include $(RTE_SDK)/mk/rte.lib.mk