build: disable experimental API check internally
[dpdk.git] / drivers / bus / dpaa / Makefile
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright 2016 NXP
3
4 include $(RTE_SDK)/mk/rte.vars.mk
5 RTE_BUS_DPAA=$(RTE_SDK)/drivers/bus/dpaa
6
7 #
8 # library name
9 #
10 LIB = librte_bus_dpaa.a
11
12 CFLAGS := -I$(SRCDIR) $(CFLAGS)
13 CFLAGS += -O3 $(WERROR_FLAGS)
14 CFLAGS += -Wno-pointer-arith
15 CFLAGS += -Wno-cast-qual
16 CFLAGS += -I$(RTE_BUS_DPAA)/
17 CFLAGS += -I$(RTE_BUS_DPAA)/include
18 CFLAGS += -I$(RTE_BUS_DPAA)/base/qbman
19 CFLAGS += -I$(RTE_SDK)/drivers/common/dpaax
20 CFLAGS += -I$(RTE_SDK)/lib/librte_eal/include
21
22 # versioning export map
23 EXPORT_MAP := rte_bus_dpaa_version.map
24
25 # all source are stored in SRCS-y
26 #
27 SRCS-$(CONFIG_RTE_LIBRTE_DPAA_BUS) += \
28         dpaa_bus.c
29
30 SRCS-$(CONFIG_RTE_LIBRTE_DPAA_BUS) += \
31         base/fman/fman.c \
32         base/fman/fman_hw.c \
33         base/fman/netcfg_layer.c \
34         base/qbman/process.c \
35         base/qbman/bman.c \
36         base/qbman/bman_driver.c \
37         base/qbman/qman.c \
38         base/qbman/qman_driver.c \
39         base/qbman/dpaa_alloc.c \
40         base/qbman/dpaa_sys.c
41
42 # Link Pthread
43 LDLIBS += -lpthread
44 LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
45 LDLIBS += -lrte_ethdev
46 LDLIBS += -lrte_common_dpaax
47
48 include $(RTE_SDK)/mk/rte.lib.mk