2019-06-25 11:12:58 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
# Copyright 2016 NXP
|
2017-04-21 10:43:26 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
include $(RTE_SDK)/mk/rte.vars.mk
|
|
|
|
|
|
|
|
#
|
|
|
|
# library name
|
|
|
|
#
|
2018-05-15 09:49:22 +00:00
|
|
|
LIB = librte_mempool_dpaa2.a
|
2017-04-21 10:43:26 +00:00
|
|
|
|
|
|
|
CFLAGS += -O3
|
|
|
|
CFLAGS += $(WERROR_FLAGS)
|
2018-05-15 09:49:22 +00:00
|
|
|
CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc
|
2020-06-18 16:55:50 +00:00
|
|
|
CFLAGS += -I$(RTE_SDK)/drivers/common/dpaax
|
2018-05-15 09:49:22 +00:00
|
|
|
CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc/qbman/include
|
2017-04-21 10:43:26 +00:00
|
|
|
|
2018-05-15 09:49:22 +00:00
|
|
|
# versioning export map
|
|
|
|
EXPORT_MAP := rte_mempool_dpaa2_version.map
|
2017-04-21 10:43:26 +00:00
|
|
|
|
2019-06-25 11:12:58 +00:00
|
|
|
# depends on fslmc bus which uses experimental API
|
|
|
|
CFLAGS += -DALLOW_EXPERIMENTAL_API
|
2017-04-21 10:43:26 +00:00
|
|
|
|
2018-05-15 09:49:22 +00:00
|
|
|
# all source are stored in SRCS-y
|
|
|
|
#
|
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_DPAA2_MEMPOOL) += dpaa2_hw_mempool.c
|
2017-04-21 10:43:26 +00:00
|
|
|
|
2018-05-15 09:49:22 +00:00
|
|
|
LDLIBS += -lrte_bus_fslmc
|
|
|
|
LDLIBS += -lrte_eal -lrte_mempool -lrte_ring
|
2019-06-25 11:12:58 +00:00
|
|
|
LDLIBS += -lrte_common_dpaax
|
|
|
|
|
|
|
|
SYMLINK-$(CONFIG_RTE_LIBRTE_DPAA2_MEMPOOL)-include := rte_dpaa2_mempool.h
|
2018-05-15 09:49:22 +00:00
|
|
|
|
|
|
|
include $(RTE_SDK)/mk/rte.lib.mk
|