c886f4263a
Three warnings are commonly disabled in DPDK with make and meson: * address-of-packed-member always disabled * missing-field-initializers disabled with meson disabled with make + clang or make + gcc < 4.7 disabled with make + gcc <= 5 for test files and event drivers * packed-not-aligned disabled with meson This change is removing exceptions for missing-field-initializers. As it is always disabled, some redundant configs are cleaned up. Now the situation is: * address-of-packed-member always disabled * missing-field-initializers always disabled * packed-not-aligned disabled with meson It could alternatively be decided to disable missing-field-initializers only for old gcc (< 6). The warning packed-not-aligned is not modified in this change. Signed-off-by: Thomas Monjalon <thomas@monjalon.net> Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
31 lines
836 B
Makefile
31 lines
836 B
Makefile
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright(c) 2010-2017 Intel Corporation
|
|
|
|
include $(RTE_SDK)/mk/rte.vars.mk
|
|
|
|
# library name
|
|
LIB = librte_pmd_opdl_event.a
|
|
|
|
# build flags
|
|
CFLAGS += -O3
|
|
CFLAGS += $(WERROR_FLAGS)
|
|
CFLAGS += -DALLOW_EXPERIMENTAL_API
|
|
|
|
LDLIBS += -lrte_eal -lrte_eventdev -lrte_kvargs
|
|
LDLIBS += -lrte_bus_vdev -lrte_mbuf -lrte_mempool
|
|
|
|
# versioning export map
|
|
EXPORT_MAP := rte_pmd_opdl_event_version.map
|
|
|
|
# library source files
|
|
SRCS-$(CONFIG_RTE_LIBRTE_PMD_OPDL_EVENTDEV) += opdl_ring.c
|
|
SRCS-$(CONFIG_RTE_LIBRTE_PMD_OPDL_EVENTDEV) += opdl_evdev.c
|
|
SRCS-$(CONFIG_RTE_LIBRTE_PMD_OPDL_EVENTDEV) += opdl_evdev_init.c
|
|
SRCS-$(CONFIG_RTE_LIBRTE_PMD_OPDL_EVENTDEV) += opdl_evdev_xstats.c
|
|
SRCS-$(CONFIG_RTE_LIBRTE_PMD_OPDL_EVENTDEV) += opdl_test.c
|
|
|
|
# export include files
|
|
SYMLINK-y-include +=
|
|
|
|
include $(RTE_SDK)/mk/rte.lib.mk
|