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

31 lines
775 B
Makefile
Raw Normal View History

2019-06-25 11:12:58 +00:00
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2013-2017, Wind River Systems, Inc.
2017-04-21 10:43:26 +00:00
include $(RTE_SDK)/mk/rte.vars.mk
#
2017-04-21 10:43:26 +00:00
# library name
#
LIB = librte_pmd_avp.a
2017-04-21 10:43:26 +00:00
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR)
2020-06-18 16:55:50 +00:00
CFLAGS += -DALLOW_EXPERIMENTAL_API
LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs
LDLIBS += -lrte_bus_pci
2017-04-21 10:43:26 +00:00
EXPORT_MAP := rte_pmd_avp_version.map
2017-04-21 10:43:26 +00:00
# install public header files to enable compilation of the hypervisor level
# dpdk application
SYMLINK-$(CONFIG_RTE_LIBRTE_AVP_PMD)-include += rte_avp_common.h
SYMLINK-$(CONFIG_RTE_LIBRTE_AVP_PMD)-include += rte_avp_fifo.h
2017-04-21 10:43:26 +00:00
#
# all source files are stored in SRCS-y
#
SRCS-$(CONFIG_RTE_LIBRTE_AVP_PMD) += avp_ethdev.c
2017-04-21 10:43:26 +00:00
include $(RTE_SDK)/mk/rte.lib.mk