raw/skeleton: fix resource leak in test
[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
23 # versioning export map
24 EXPORT_MAP := rte_bus_fslmc_version.map
25
26 # library version
27 LIBABIVER := 1
28
29 SRCS-$(CONFIG_RTE_LIBRTE_FSLMC_BUS) += \
30         qbman/qbman_portal.c \
31         qbman/qbman_debug.c
32
33 SRCS-$(CONFIG_RTE_LIBRTE_FSLMC_BUS) += \
34         mc/dpmng.c \
35         mc/dpbp.c \
36         mc/dpio.c \
37         mc/mc_sys.c \
38         mc/dpcon.c \
39         mc/dpci.c \
40         mc/dpdmai.c
41
42 SRCS-$(CONFIG_RTE_LIBRTE_FSLMC_BUS) += portal/dpaa2_hw_dpio.c
43 SRCS-$(CONFIG_RTE_LIBRTE_FSLMC_BUS) += portal/dpaa2_hw_dpbp.c
44 SRCS-$(CONFIG_RTE_LIBRTE_FSLMC_BUS) += portal/dpaa2_hw_dpci.c
45 SRCS-$(CONFIG_RTE_LIBRTE_FSLMC_BUS) += fslmc_vfio.c
46 SRCS-$(CONFIG_RTE_LIBRTE_FSLMC_BUS) += fslmc_bus.c
47
48 include $(RTE_SDK)/mk/rte.lib.mk