net/bnxt: add initial TruFlow core session close
[dpdk.git] / drivers / raw / octeontx2_ep / 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_ep.a
9
10 # Build flags
11 CFLAGS += -O3
12 CFLAGS += $(WERROR_FLAGS)
13
14 CFLAGS += -I$(RTE_SDK)/drivers/common/octeontx2/
15 CFLAGS += -I$(RTE_SDK)/drivers/raw/octeontx2_ep/
16
17 LDLIBS += -lrte_eal
18 LDLIBS += -lrte_rawdev
19 LDLIBS += -lrte_bus_pci
20 LDLIBS += -lrte_mempool
21 LDLIBS += -lrte_common_octeontx2
22
23 ifneq ($(CONFIG_RTE_ARCH_64),y)
24 CFLAGS += -Wno-int-to-pointer-cast
25 CFLAGS += -Wno-pointer-to-int-cast
26 ifeq ($(CONFIG_RTE_TOOLCHAIN_ICC),y)
27 CFLAGS += -diag-disable 2259
28 endif
29 endif
30
31 EXPORT_MAP := rte_rawdev_octeontx2_ep_version.map
32
33 #
34 # All source are stored in SRCS-y
35 #
36 SRCS-$(CONFIG_RTE_LIBRTE_PMD_OCTEONTX2_EP_RAWDEV) += otx2_ep_rawdev.c
37 SRCS-$(CONFIG_RTE_LIBRTE_PMD_OCTEONTX2_EP_RAWDEV) += otx2_ep_enqdeq.c
38 SRCS-$(CONFIG_RTE_LIBRTE_PMD_OCTEONTX2_EP_RAWDEV) += otx2_ep_test.c
39 SRCS-$(CONFIG_RTE_LIBRTE_PMD_OCTEONTX2_EP_RAWDEV) += otx2_ep_vf.c
40
41
42 include $(RTE_SDK)/mk/rte.lib.mk