1 # SPDX-License-Identifier: BSD-3-Clause
4 include $(RTE_SDK)/mk/rte.vars.mk
9 LIB = librte_pmd_enetc.a
12 CFLAGS += $(WERROR_FLAGS)
13 CFLAGS += -I$(RTE_SDK)/drivers/common/dpaax
14 EXPORT_MAP := rte_pmd_enetc_version.map
15 SRCS-$(CONFIG_RTE_LIBRTE_ENETC_PMD) += enetc_ethdev.c
16 SRCS-$(CONFIG_RTE_LIBRTE_ENETC_PMD) += enetc_rxtx.c
18 LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool
19 LDLIBS += -lrte_ethdev -lrte_net
20 LDLIBS += -lrte_bus_pci
21 LDLIBS += -lrte_common_dpaax
23 include $(RTE_SDK)/mk/rte.lib.mk