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
17 # versioning export map
18 EXPORT_MAP := rte_mempool_dpaa2_version.map
23 # depends on fslmc bus which uses experimental API
24 CFLAGS += -DALLOW_EXPERIMENTAL_API
26 # all source are stored in SRCS-y
28 SRCS-$(CONFIG_RTE_LIBRTE_DPAA2_MEMPOOL) += dpaa2_hw_mempool.c
30 LDLIBS += -lrte_bus_fslmc
31 LDLIBS += -lrte_eal -lrte_mempool -lrte_ring
32 LDLIBS += -lrte_common_dpaax
34 SYMLINK-$(CONFIG_RTE_LIBRTE_DPAA2_MEMPOOL)-include := rte_dpaa2_mempool.h
36 include $(RTE_SDK)/mk/rte.lib.mk