f-stack/dpdk/drivers/mempool/dpaa/Makefile

36 lines
797 B
Makefile
Raw Normal View History

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
#
2017-04-21 10:43:26 +00:00
# library name
#
LIB = librte_mempool_dpaa.a
2017-04-21 10:43:26 +00:00
CFLAGS := -I$(SRCDIR) $(CFLAGS)
CFLAGS += -O3 $(WERROR_FLAGS)
CFLAGS += -I$(RTE_SDK)/drivers/bus/dpaa
CFLAGS += -I$(RTE_SDK)/drivers/bus/dpaa/include/
CFLAGS += -I$(RTE_SDK)/drivers/mempool/dpaa
CFLAGS += -I$(RTE_SDK)/lib/librte_mempool
2017-04-21 10:43:26 +00:00
# versioning export map
EXPORT_MAP := rte_mempool_dpaa_version.map
2017-04-21 10:43:26 +00:00
# Lbrary version
2017-04-21 10:43:26 +00:00
LIBABIVER := 1
2019-06-25 11:12:58 +00:00
# depends on dpaa bus which uses experimental API
CFLAGS += -DALLOW_EXPERIMENTAL_API
2017-04-21 10:43:26 +00:00
# all source are stored in SRCS-y
#
SRCS-$(CONFIG_RTE_LIBRTE_DPAA_MEMPOOL) += dpaa_mempool.c
2017-04-21 10:43:26 +00:00
LDLIBS += -lrte_bus_dpaa
LDLIBS += -lrte_eal -lrte_mempool -lrte_ring
2019-06-25 11:12:58 +00:00
LDLIBS += -lrte_common_dpaax
2017-04-21 10:43:26 +00:00
include $(RTE_SDK)/mk/rte.lib.mk