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

24 lines
538 B
Makefile
Raw Normal View History

2019-06-25 11:12:58 +00:00
# SPDX-License-Identifier: BSD-3-Clause
# Copyright 2018 NXP
include $(RTE_SDK)/mk/rte.vars.mk
#
# library name
#
LIB = librte_pmd_enetc.a
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
2020-06-18 16:55:50 +00:00
CFLAGS += -I$(RTE_SDK)/drivers/common/dpaax
2019-06-25 11:12:58 +00:00
EXPORT_MAP := rte_pmd_enetc_version.map
SRCS-$(CONFIG_RTE_LIBRTE_ENETC_PMD) += enetc_ethdev.c
SRCS-$(CONFIG_RTE_LIBRTE_ENETC_PMD) += enetc_rxtx.c
LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool
2020-06-18 16:55:50 +00:00
LDLIBS += -lrte_ethdev -lrte_net
2019-06-25 11:12:58 +00:00
LDLIBS += -lrte_bus_pci
2020-06-18 16:55:50 +00:00
LDLIBS += -lrte_common_dpaax
2019-06-25 11:12:58 +00:00
include $(RTE_SDK)/mk/rte.lib.mk