net/bnxt: add initial TruFlow core session close
[dpdk.git] / drivers / raw / octeontx2_dma / Makefile
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(C) 2019 Marvell International Ltd.
3 #
4
5 include $(RTE_SDK)/mk/rte.vars.mk
6
7 # library name
8 LIB = librte_rawdev_octeontx2_dma.a
9
10 CFLAGS += -O3 $(WERROR_FLAGS)
11 CFLAGS += -I$(RTE_SDK)/drivers/common/octeontx2/
12 CFLAGS += -I$(RTE_SDK)/drivers/mempool/octeontx2/
13 CFLAGS += -I$(RTE_SDK)/drivers/raw/octeontx2_dma/
14 LDLIBS += -lrte_eal -lrte_rawdev -lrte_bus_pci -lrte_mbuf
15 LDLIBS += -lrte_common_octeontx2 -lrte_mempool
16
17 ifneq ($(CONFIG_RTE_ARCH_64),y)
18 CFLAGS += -Wno-int-to-pointer-cast
19 CFLAGS += -Wno-pointer-to-int-cast
20 ifeq ($(CONFIG_RTE_TOOLCHAIN_ICC),y)
21 CFLAGS += -diag-disable 2259
22 endif
23 endif
24
25 EXPORT_MAP := rte_rawdev_octeontx2_dma_version.map
26
27 #
28 # all source are stored in SRCS-y
29 #
30 SRCS-$(CONFIG_RTE_LIBRTE_PMD_OCTEONTX2_DMA_RAWDEV) += otx2_dpi_rawdev.c
31 SRCS-$(CONFIG_RTE_LIBRTE_PMD_OCTEONTX2_DMA_RAWDEV) += otx2_dpi_msg.c
32 SRCS-$(CONFIG_RTE_LIBRTE_PMD_OCTEONTX2_DMA_RAWDEV) += otx2_dpi_test.c
33
34 include $(RTE_SDK)/mk/rte.lib.mk