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>
35 lines
940 B
Makefile
35 lines
940 B
Makefile
# SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0)
|
|
# Copyright(c) 2018-2019 Pensando Systems, Inc. All rights reserved.
|
|
|
|
include $(RTE_SDK)/mk/rte.vars.mk
|
|
|
|
#
|
|
# library name
|
|
#
|
|
LIB = librte_pmd_ionic.a
|
|
|
|
# Required to use rte_eth_dev_create and rte_eth_dev_destroy
|
|
CFLAGS += -DALLOW_EXPERIMENTAL_API
|
|
|
|
CFLAGS += -O3
|
|
CFLAGS += $(WERROR_FLAGS)
|
|
|
|
EXPORT_MAP := rte_pmd_ionic_version.map
|
|
|
|
LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
|
|
LDLIBS += -lrte_ethdev -lrte_net
|
|
LDLIBS += -lrte_bus_pci
|
|
|
|
#
|
|
# all source are stored in SRCS-y
|
|
#
|
|
SRCS-$(CONFIG_RTE_LIBRTE_IONIC_PMD) += ionic_mac_api.c
|
|
SRCS-$(CONFIG_RTE_LIBRTE_IONIC_PMD) += ionic_rx_filter.c
|
|
SRCS-$(CONFIG_RTE_LIBRTE_IONIC_PMD) += ionic_rxtx.c
|
|
SRCS-$(CONFIG_RTE_LIBRTE_IONIC_PMD) += ionic_dev.c
|
|
SRCS-$(CONFIG_RTE_LIBRTE_IONIC_PMD) += ionic_ethdev.c
|
|
SRCS-$(CONFIG_RTE_LIBRTE_IONIC_PMD) += ionic_lif.c
|
|
SRCS-$(CONFIG_RTE_LIBRTE_IONIC_PMD) += ionic_main.c
|
|
|
|
include $(RTE_SDK)/mk/rte.lib.mk
|