2018-03-28 16:55:06 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
# Copyright(c) 2013-2017, Wind River Systems, Inc.
|
2017-03-28 11:53:56 +00:00
|
|
|
|
|
|
|
include $(RTE_SDK)/mk/rte.vars.mk
|
|
|
|
|
|
|
|
#
|
|
|
|
# library name
|
|
|
|
#
|
|
|
|
LIB = librte_pmd_avp.a
|
|
|
|
|
|
|
|
CFLAGS += -O3
|
|
|
|
CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR)
|
2017-10-12 16:04:21 +00:00
|
|
|
LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
|
|
|
|
LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs
|
2017-10-26 10:06:08 +00:00
|
|
|
LDLIBS += -lrte_bus_pci
|
2017-03-28 11:53:56 +00:00
|
|
|
|
|
|
|
EXPORT_MAP := rte_pmd_avp_version.map
|
|
|
|
|
2017-03-28 11:53:57 +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-03-28 11:53:59 +00:00
|
|
|
#
|
|
|
|
# all source files are stored in SRCS-y
|
|
|
|
#
|
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_AVP_PMD) += avp_ethdev.c
|
|
|
|
|
2017-03-28 11:53:56 +00:00
|
|
|
include $(RTE_SDK)/mk/rte.lib.mk
|