1 # SPDX-License-Identifier: BSD-3-Clause
5 include $(RTE_SDK)/mk/rte.vars.mk
10 LIB = librte_bus_fslmc.a
12 CFLAGS += -DALLOW_EXPERIMENTAL_API
14 CFLAGS += $(WERROR_FLAGS)
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
25 # versioning export map
26 EXPORT_MAP := rte_bus_fslmc_version.map
31 SRCS-$(CONFIG_RTE_LIBRTE_FSLMC_BUS) += \
32 qbman/qbman_portal.c \
35 SRCS-$(CONFIG_RTE_LIBRTE_FSLMC_BUS) += \
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
50 include $(RTE_SDK)/mk/rte.lib.mk