f-stack/dpdk/drivers/raw/dpaa2_qdma/Makefile

38 lines
833 B
Makefile
Raw Normal View History

2019-06-25 11:12:58 +00:00
# SPDX-License-Identifier: BSD-3-Clause
# Copyright 2018 NXP
include $(RTE_SDK)/mk/rte.vars.mk
#
# library name
#
2020-06-18 16:55:50 +00:00
LIB = librte_rawdev_dpaa2_qdma.a
2019-06-25 11:12:58 +00:00
CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc
CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc/qbman/include
2020-06-18 16:55:50 +00:00
CFLAGS += -I$(RTE_SDK)/drivers/common/dpaax
2019-06-25 11:12:58 +00:00
LDLIBS += -lrte_bus_fslmc
LDLIBS += -lrte_eal
LDLIBS += -lrte_mempool
LDLIBS += -lrte_mempool_dpaa2
LDLIBS += -lrte_rawdev
2020-06-18 16:55:50 +00:00
LDLIBS += -lrte_kvargs
2019-06-25 11:12:58 +00:00
LDLIBS += -lrte_ring
LDLIBS += -lrte_common_dpaax
2020-06-18 16:55:50 +00:00
EXPORT_MAP := rte_rawdev_dpaa2_qdma_version.map
2019-06-25 11:12:58 +00:00
#
# all source are stored in SRCS-y
#
SRCS-$(CONFIG_RTE_LIBRTE_PMD_DPAA2_QDMA_RAWDEV) += dpaa2_qdma.c
SYMLINK-$(CONFIG_RTE_LIBRTE_PMD_DPAA2_QDMA_RAWDEV)-include += rte_pmd_dpaa2_qdma.h
include $(RTE_SDK)/mk/rte.lib.mk