net/ice/base: fix NVGRE switch rule programming
[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 += -DALLOW_EXPERIMENTAL_API
13 CFLAGS := -I$(SRCDIR) $(CFLAGS)
14 CFLAGS += -O3 $(WERROR_FLAGS)
15 CFLAGS += -Wno-pointer-arith
16 CFLAGS += -Wno-cast-qual
17 CFLAGS += -I$(RTE_BUS_DPAA)/
18 CFLAGS += -I$(RTE_BUS_DPAA)/include
19 CFLAGS += -I$(RTE_BUS_DPAA)/base/qbman
20 CFLAGS += -I$(RTE_SDK)/drivers/common/dpaax
21 CFLAGS += -I$(RTE_SDK)/lib/librte_eal/common/include
22
23 # versioning export map
24 EXPORT_MAP := rte_bus_dpaa_version.map
25
26 LIBABIVER := 2
27
28 # all source are stored in SRCS-y
29 #
30 SRCS-$(CONFIG_RTE_LIBRTE_DPAA_BUS) += \
31         dpaa_bus.c
32
33 SRCS-$(CONFIG_RTE_LIBRTE_DPAA_BUS) += \
34         base/fman/fman.c \
35         base/fman/fman_hw.c \
36         base/fman/netcfg_layer.c \
37         base/qbman/process.c \
38         base/qbman/bman.c \
39         base/qbman/bman_driver.c \
40         base/qbman/qman.c \
41         base/qbman/qman_driver.c \
42         base/qbman/dpaa_alloc.c \
43         base/qbman/dpaa_sys.c
44
45 # Link Pthread
46 LDLIBS += -lpthread
47 LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
48 LDLIBS += -lrte_ethdev
49 LDLIBS += -lrte_common_dpaax
50
51 include $(RTE_SDK)/mk/rte.lib.mk