summaryrefslogtreecommitdiffstats
path: root/drivers/event/dsw/Makefile
blob: 490ed0b985f11dfe80393caaecc0b6cb5efe1d95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2018 Ericsson AB

include $(RTE_SDK)/mk/rte.vars.mk

LIB = librte_pmd_dsw_event.a

CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
ifneq ($(CONFIG_RTE_TOOLCHAIN_ICC),y)
CFLAGS += -Wno-format-nonliteral
endif

LDLIBS += -lrte_eal
LDLIBS += -lrte_mbuf
LDLIBS += -lrte_mempool
LDLIBS += -lrte_ring
LDLIBS += -lrte_eventdev
LDLIBS += -lrte_bus_vdev

LIBABIVER := 1

EXPORT_MAP := rte_pmd_dsw_event_version.map

SRCS-$(CONFIG_RTE_LIBRTE_PMD_DSW_EVENTDEV) += \
	dsw_evdev.c dsw_event.c dsw_xstats.c

include $(RTE_SDK)/mk/rte.lib.mk