1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2017 Intel Corporation
4 include $(RTE_SDK)/mk/rte.vars.mk
7 $(error "Please define FLEXRAN_SDK environment variable")
11 LIB = librte_pmd_bbdev_turbo_sw.a
14 CFLAGS += -DALLOW_EXPERIMENTAL_API
16 CFLAGS += $(WERROR_FLAGS)
17 LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring -lrte_kvargs
19 LDLIBS += -lrte_bus_vdev
21 # versioning export map
22 EXPORT_MAP := rte_pmd_bbdev_turbo_sw_version.map
24 # external library dependencies
25 CFLAGS += -I$(FLEXRAN_SDK)/lib_common
26 CFLAGS += -I$(FLEXRAN_SDK)/lib_turbo
27 CFLAGS += -I$(FLEXRAN_SDK)/lib_crc
28 CFLAGS += -I$(FLEXRAN_SDK)/lib_rate_matching
30 LDLIBS += -L$(FLEXRAN_SDK)/lib_crc -lcrc
31 LDLIBS += -L$(FLEXRAN_SDK)/lib_turbo -lturbo
32 LDLIBS += -L$(FLEXRAN_SDK)/lib_rate_matching -lrate_matching
33 LDLIBS += -L$(FLEXRAN_SDK)/lib_common -lcommon
34 LDLIBS += -lstdc++ -lirc -limf -lipps
39 # library source files
40 SRCS-$(CONFIG_RTE_LIBRTE_PMD_BBDEV_TURBO_SW) += bbdev_turbo_software.c
42 include $(RTE_SDK)/mk/rte.lib.mk