net/softnic: support service cores
[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)/lib/librte_eal/common
20 LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
21 LDLIBS += -lrte_ethdev
22 LDLIBS += -lrte_common_dpaax
23
24 # versioning export map
25 EXPORT_MAP := rte_bus_fslmc_version.map
26
27 # library version
28 LIBABIVER := 2
29
30 SRCS-$(CONFIG_RTE_LIBRTE_FSLMC_BUS) += \
31         qbman/qbman_portal.c \
32         qbman/qbman_debug.c
33
34 SRCS-$(CONFIG_RTE_LIBRTE_FSLMC_BUS) += \
35         mc/dpmng.c \
36         mc/dpbp.c \
37         mc/dpio.c \
38         mc/mc_sys.c \
39         mc/dpcon.c \
40         mc/dpci.c \
41         mc/dpdmai.c
42
43 SRCS-$(CONFIG_RTE_LIBRTE_FSLMC_BUS) += portal/dpaa2_hw_dpio.c
44 SRCS-$(CONFIG_RTE_LIBRTE_FSLMC_BUS) += portal/dpaa2_hw_dpbp.c
45 SRCS-$(CONFIG_RTE_LIBRTE_FSLMC_BUS) += portal/dpaa2_hw_dpci.c
46 SRCS-$(CONFIG_RTE_LIBRTE_FSLMC_BUS) += fslmc_vfio.c
47 SRCS-$(CONFIG_RTE_LIBRTE_FSLMC_BUS) += fslmc_bus.c
48
49 include $(RTE_SDK)/mk/rte.lib.mk