1 # SPDX-License-Identifier: BSD-3-Clause
5 include $(RTE_SDK)/mk/rte.vars.mk
10 LIB = librte_mempool_dpaa2.a
13 CFLAGS += $(WERROR_FLAGS)
14 CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc
15 CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc/qbman/include
16 CFLAGS += -I$(RTE_SDK)/lib/librte_eal/linuxapp/eal
18 # versioning export map
19 EXPORT_MAP := rte_mempool_dpaa2_version.map
24 # depends on fslmc bus which uses experimental API
25 CFLAGS += -DALLOW_EXPERIMENTAL_API
27 # all source are stored in SRCS-y
29 SRCS-$(CONFIG_RTE_LIBRTE_DPAA2_MEMPOOL) += dpaa2_hw_mempool.c
31 LDLIBS += -lrte_bus_fslmc
32 LDLIBS += -lrte_eal -lrte_mempool -lrte_ring
34 include $(RTE_SDK)/mk/rte.lib.mk