2019-06-25 11:12:58 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
# Copyright(c) 2016 Cavium, Inc
|
2017-04-21 10:43:26 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
include $(RTE_SDK)/mk/rte.vars.mk
|
|
|
|
|
|
|
|
# library name
|
2018-05-15 09:49:22 +00:00
|
|
|
LIB = librte_eventdev.a
|
2017-04-21 10:43:26 +00:00
|
|
|
|
2018-05-15 09:49:22 +00:00
|
|
|
# library version
|
2019-06-25 11:12:58 +00:00
|
|
|
LIBABIVER := 6
|
2017-04-21 10:43:26 +00:00
|
|
|
|
2018-05-15 09:49:22 +00:00
|
|
|
# build flags
|
2019-06-25 11:12:58 +00:00
|
|
|
CFLAGS += -DALLOW_EXPERIMENTAL_API
|
2017-04-21 10:43:26 +00:00
|
|
|
CFLAGS += -O3
|
|
|
|
CFLAGS += $(WERROR_FLAGS)
|
2019-06-25 11:12:58 +00:00
|
|
|
ifeq ($(CONFIG_RTE_EXEC_ENV_LINUXAPP),y)
|
|
|
|
CFLAGS += -DLINUX
|
|
|
|
else
|
|
|
|
CFLAGS += -DBSD
|
|
|
|
endif
|
|
|
|
LDLIBS += -lrte_eal -lrte_ring -lrte_ethdev -lrte_hash -lrte_mempool -lrte_timer
|
|
|
|
LDLIBS += -lrte_mbuf -lrte_cryptodev -lpthread
|
2018-05-15 09:49:22 +00:00
|
|
|
|
|
|
|
# library source files
|
|
|
|
SRCS-y += rte_eventdev.c
|
|
|
|
SRCS-y += rte_event_ring.c
|
|
|
|
SRCS-y += rte_event_eth_rx_adapter.c
|
2019-06-25 11:12:58 +00:00
|
|
|
SRCS-y += rte_event_timer_adapter.c
|
|
|
|
SRCS-y += rte_event_crypto_adapter.c
|
|
|
|
SRCS-y += rte_event_eth_tx_adapter.c
|
2017-04-21 10:43:26 +00:00
|
|
|
|
2018-05-15 09:49:22 +00:00
|
|
|
# export include files
|
|
|
|
SYMLINK-y-include += rte_eventdev.h
|
|
|
|
SYMLINK-y-include += rte_eventdev_pmd.h
|
|
|
|
SYMLINK-y-include += rte_eventdev_pmd_pci.h
|
|
|
|
SYMLINK-y-include += rte_eventdev_pmd_vdev.h
|
|
|
|
SYMLINK-y-include += rte_event_ring.h
|
|
|
|
SYMLINK-y-include += rte_event_eth_rx_adapter.h
|
2019-06-25 11:12:58 +00:00
|
|
|
SYMLINK-y-include += rte_event_timer_adapter.h
|
|
|
|
SYMLINK-y-include += rte_event_timer_adapter_pmd.h
|
|
|
|
SYMLINK-y-include += rte_event_crypto_adapter.h
|
|
|
|
SYMLINK-y-include += rte_event_eth_tx_adapter.h
|
2017-04-21 10:43:26 +00:00
|
|
|
|
2018-05-15 09:49:22 +00:00
|
|
|
# versioning export map
|
|
|
|
EXPORT_MAP := rte_eventdev_version.map
|
2017-04-21 10:43:26 +00:00
|
|
|
|
2018-05-15 09:49:22 +00:00
|
|
|
include $(RTE_SDK)/mk/rte.lib.mk
|