common/octeontx2: introduce irq handling functions
[dpdk.git] / drivers / common / octeontx2 / 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 #
8 # library name
9 #
10 LIB = librte_common_octeontx2.a
11
12 CFLAGS += $(WERROR_FLAGS)
13 CFLAGS += -I$(RTE_SDK)/drivers/common/octeontx2
14 CFLAGS += -I$(RTE_SDK)/drivers/bus/pci
15
16 ifneq ($(CONFIG_RTE_ARCH_64),y)
17 CFLAGS += -Wno-int-to-pointer-cast
18 CFLAGS += -Wno-pointer-to-int-cast
19 endif
20
21 EXPORT_MAP := rte_common_octeontx2_version.map
22
23 LIBABIVER := 1
24
25 #
26 # all source are stored in SRCS-y
27 #
28 SRCS-y += otx2_dev.c
29 SRCS-y += otx2_irq.c
30 SRCS-y += otx2_mbox.c
31 SRCS-y += otx2_common.c
32
33 LDLIBS += -lrte_eal
34 LDLIBS += -lrte_ethdev
35
36 include $(RTE_SDK)/mk/rte.lib.mk