event/dpaa: support Tx adapter
[dpdk.git] / drivers / crypto / dpaa2_sec / Makefile
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright (c) 2016 Freescale Semiconductor, Inc. All rights reserved.
3 # Copyright 2016 NXP
4 #
5
6 include $(RTE_SDK)/mk/rte.vars.mk
7 #
8 # library name
9 #
10 LIB = librte_pmd_dpaa2_sec.a
11
12 # build flags
13 CFLAGS += -DALLOW_EXPERIMENTAL_API
14 CFLAGS += -O3
15 CFLAGS += $(WERROR_FLAGS)
16
17 ifeq ($(CONFIG_RTE_TOOLCHAIN_GCC),y)
18 ifeq ($(shell test $(GCC_VERSION) -gt 70 && echo 1), 1)
19 CFLAGS += -Wno-implicit-fallthrough
20 endif
21 endif
22
23 CFLAGS += -I$(RTE_SDK)/drivers/crypto/dpaa2_sec/
24 CFLAGS += -I$(RTE_SDK)/drivers/crypto/dpaa2_sec/mc
25 CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc/
26 CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc/qbman/include
27 CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc/mc
28 CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc/portal
29 CFLAGS += -I$(RTE_SDK)/drivers/mempool/dpaa2/
30
31 # versioning export map
32 EXPORT_MAP := rte_pmd_dpaa2_sec_version.map
33
34 # library version
35 LIBABIVER := 2
36
37 # library source files
38 SRCS-$(CONFIG_RTE_LIBRTE_PMD_DPAA2_SEC) += dpaa2_sec_dpseci.c
39 SRCS-$(CONFIG_RTE_LIBRTE_PMD_DPAA2_SEC) += mc/dpseci.c
40
41 LDLIBS += -lrte_bus_fslmc
42 LDLIBS += -lrte_mempool_dpaa2
43 LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
44 LDLIBS += -lrte_cryptodev
45 LDLIBS += -lrte_common_dpaax
46
47 include $(RTE_SDK)/mk/rte.lib.mk