event/dsw: use custom element size ring for control
[dpdk.git] / drivers / event / dsw / Makefile
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2018 Ericsson AB
3
4 include $(RTE_SDK)/mk/rte.vars.mk
5
6 LIB = librte_pmd_dsw_event.a
7
8 CFLAGS += -O3
9 CFLAGS += $(WERROR_FLAGS)
10 ifneq ($(CONFIG_RTE_TOOLCHAIN_ICC),y)
11 CFLAGS += -Wno-format-nonliteral
12 endif
13
14 # Depends on rte_ring_elem_*()
15 CFLAGS += -DALLOW_EXPERIMENTAL_API
16
17 LDLIBS += -lrte_eal
18 LDLIBS += -lrte_mbuf
19 LDLIBS += -lrte_mempool
20 LDLIBS += -lrte_ring
21 LDLIBS += -lrte_eventdev
22 LDLIBS += -lrte_bus_vdev
23
24 EXPORT_MAP := rte_pmd_dsw_event_version.map
25
26 SRCS-$(CONFIG_RTE_LIBRTE_PMD_DSW_EVENTDEV) += \
27         dsw_evdev.c dsw_event.c dsw_xstats.c
28
29 include $(RTE_SDK)/mk/rte.lib.mk