net/mlx5: replace verbs priorities by flow
[dpdk.git] / drivers / baseband / turbo_sw / Makefile
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2017 Intel Corporation
3
4 include $(RTE_SDK)/mk/rte.vars.mk
5
6 ifeq ($(FLEXRAN_SDK),)
7 $(error "Please define FLEXRAN_SDK environment variable")
8 endif
9
10 # library name
11 LIB = librte_pmd_bbdev_turbo_sw.a
12
13 # build flags
14 CFLAGS += -DALLOW_EXPERIMENTAL_API
15 CFLAGS += -O3
16 CFLAGS += $(WERROR_FLAGS)
17 LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring -lrte_kvargs
18 LDLIBS += -lrte_bbdev
19 LDLIBS += -lrte_bus_vdev
20
21 # versioning export map
22 EXPORT_MAP := rte_pmd_bbdev_turbo_sw_version.map
23
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
29
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
35
36 # library version
37 LIBABIVER := 1
38
39 # library source files
40 SRCS-$(CONFIG_RTE_LIBRTE_PMD_BBDEV_TURBO_SW) += bbdev_turbo_software.c
41
42 include $(RTE_SDK)/mk/rte.lib.mk