Remove setting ALLOW_EXPERIMENTAL_API individually for each Makefile and meson.build. Instead, enable ALLOW_EXPERIMENTAL_API flag across app, lib and drivers. This changes reduces the clutter across the project while still maintaining the functionality of ALLOW_EXPERIMENTAL_API i.e. warning external applications about experimental API usage. Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com> Signed-off-by: David Marchand <david.marchand@redhat.com>
27 lines
558 B
Makefile
27 lines
558 B
Makefile
# 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 += -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
|
|
|
|
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
|