net/ice/base: fix NVGRE switch rule programming
[dpdk.git] / drivers / bus / fslmc / Makefile
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright 2016 NXP
3 #
4
5 include $(RTE_SDK)/mk/rte.vars.mk
6
7 #
8 # library name
9 #
10 LIB = librte_bus_fslmc.a
11
12 CFLAGS += -DALLOW_EXPERIMENTAL_API
13 CFLAGS += -O3
14 CFLAGS += $(WERROR_FLAGS)
15
16 CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc
17 CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc/mc
18 CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc/qbman/include
19 CFLAGS += -I$(RTE_SDK)/drivers/common/dpaax
20 CFLAGS += -I$(RTE_SDK)/lib/librte_eal/common
21 LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
22 LDLIBS += -lrte_ethdev
23 LDLIBS += -lrte_common_dpaax
24
25 # versioning export map
26 EXPORT_MAP := rte_bus_fslmc_version.map
27
28 # library version
29 LIBABIVER := 2
30
31 SRCS-$(CONFIG_RTE_LIBRTE_FSLMC_BUS) += \
32         qbman/qbman_portal.c \
33         qbman/qbman_debug.c
34
35 SRCS-$(CONFIG_RTE_LIBRTE_FSLMC_BUS) += \
36         mc/dpmng.c \
37         mc/dpbp.c \
38         mc/dpio.c \
39         mc/mc_sys.c \
40         mc/dpcon.c \
41         mc/dpci.c \
42         mc/dpdmai.c
43
44 SRCS-$(CONFIG_RTE_LIBRTE_FSLMC_BUS) += portal/dpaa2_hw_dpio.c
45 SRCS-$(CONFIG_RTE_LIBRTE_FSLMC_BUS) += portal/dpaa2_hw_dpbp.c
46 SRCS-$(CONFIG_RTE_LIBRTE_FSLMC_BUS) += portal/dpaa2_hw_dpci.c
47 SRCS-$(CONFIG_RTE_LIBRTE_FSLMC_BUS) += fslmc_vfio.c
48 SRCS-$(CONFIG_RTE_LIBRTE_FSLMC_BUS) += fslmc_bus.c
49
50 include $(RTE_SDK)/mk/rte.lib.mk