1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(C) 2020 Marvell International Ltd.
5 include $(RTE_SDK)/mk/rte.vars.mk
11 CFLAGS += $(WERROR_FLAGS)
12 # Strict-aliasing rules are violated by uint8_t[] to context size casts.
13 CFLAGS += -fno-strict-aliasing
14 LDLIBS += -lrte_eal -lrte_graph -lrte_mbuf -lrte_ethdev
16 EXPORT_MAP := rte_node_version.map
18 # all source are stored in SRCS-y
19 SRCS-$(CONFIG_RTE_LIBRTE_NODE) += null.c
20 SRCS-$(CONFIG_RTE_LIBRTE_NODE) += log.c
21 SRCS-$(CONFIG_RTE_LIBRTE_NODE) += ethdev_rx.c
22 SRCS-$(CONFIG_RTE_LIBRTE_NODE) += ethdev_tx.c
24 include $(RTE_SDK)/mk/rte.lib.mk