2018-01-08 05:25:14 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
# Copyright(c) 2016 Cavium, Inc
|
2016-12-06 01:51:46 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
include $(RTE_SDK)/mk/rte.vars.mk
|
|
|
|
|
|
|
|
# library name
|
|
|
|
LIB = librte_eventdev.a
|
|
|
|
|
|
|
|
# library version
|
2019-06-24 23:16:02 +00:00
|
|
|
LIBABIVER := 7
|
2016-12-06 01:51:46 +00:00
|
|
|
|
|
|
|
# build flags
|
2018-01-22 01:48:05 +00:00
|
|
|
CFLAGS += -DALLOW_EXPERIMENTAL_API
|
2016-12-06 01:51:46 +00:00
|
|
|
CFLAGS += -O3
|
|
|
|
CFLAGS += $(WERROR_FLAGS)
|
2019-03-06 16:22:39 +00:00
|
|
|
ifeq ($(CONFIG_RTE_EXEC_ENV_LINUX),y)
|
2018-07-02 09:11:13 +00:00
|
|
|
CFLAGS += -DLINUX
|
|
|
|
else
|
|
|
|
CFLAGS += -DBSD
|
|
|
|
endif
|
2018-04-04 21:51:10 +00:00
|
|
|
LDLIBS += -lrte_eal -lrte_ring -lrte_ethdev -lrte_hash -lrte_mempool -lrte_timer
|
2018-07-02 09:11:13 +00:00
|
|
|
LDLIBS += -lrte_mbuf -lrte_cryptodev -lpthread
|
2016-12-06 01:51:46 +00:00
|
|
|
|
|
|
|
# library source files
|
|
|
|
SRCS-y += rte_eventdev.c
|
2017-06-30 15:06:19 +00:00
|
|
|
SRCS-y += rte_event_ring.c
|
2017-10-10 22:21:36 +00:00
|
|
|
SRCS-y += rte_event_eth_rx_adapter.c
|
2018-04-04 21:51:08 +00:00
|
|
|
SRCS-y += rte_event_timer_adapter.c
|
2018-05-09 08:17:59 +00:00
|
|
|
SRCS-y += rte_event_crypto_adapter.c
|
2018-09-20 17:41:14 +00:00
|
|
|
SRCS-y += rte_event_eth_tx_adapter.c
|
2016-12-06 01:51:46 +00:00
|
|
|
|
|
|
|
# export include files
|
|
|
|
SYMLINK-y-include += rte_eventdev.h
|
|
|
|
SYMLINK-y-include += rte_eventdev_pmd.h
|
2017-06-09 08:37:28 +00:00
|
|
|
SYMLINK-y-include += rte_eventdev_pmd_pci.h
|
2017-06-09 08:37:29 +00:00
|
|
|
SYMLINK-y-include += rte_eventdev_pmd_vdev.h
|
2017-06-30 15:06:19 +00:00
|
|
|
SYMLINK-y-include += rte_event_ring.h
|
2017-10-10 22:21:34 +00:00
|
|
|
SYMLINK-y-include += rte_event_eth_rx_adapter.h
|
2018-04-04 21:51:06 +00:00
|
|
|
SYMLINK-y-include += rte_event_timer_adapter.h
|
2018-04-04 21:51:08 +00:00
|
|
|
SYMLINK-y-include += rte_event_timer_adapter_pmd.h
|
2018-05-09 08:17:59 +00:00
|
|
|
SYMLINK-y-include += rte_event_crypto_adapter.h
|
2018-09-20 17:41:14 +00:00
|
|
|
SYMLINK-y-include += rte_event_eth_tx_adapter.h
|
2016-12-06 01:51:46 +00:00
|
|
|
|
|
|
|
# versioning export map
|
|
|
|
EXPORT_MAP := rte_eventdev_version.map
|
|
|
|
|
|
|
|
include $(RTE_SDK)/mk/rte.lib.mk
|