crypto/octeontx2: add PMD skeleton
[dpdk.git] / drivers / crypto / octeontx2 / Makefile
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright (C) 2019 Marvell International Ltd.
3 #
4
5 include $(RTE_SDK)/mk/rte.vars.mk
6
7 # library name
8 LIB = librte_pmd_octeontx2_crypto.a
9
10 # library version
11 LIBABIVER := 1
12
13 # build flags
14 CFLAGS += $(WERROR_FLAGS)
15
16 LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
17 LDLIBS += -lrte_cryptodev
18 LDLIBS += -lrte_pci -lrte_bus_pci
19 LDLIBS += -lrte_common_cpt -lrte_common_octeontx2
20
21 VPATH += $(RTE_SDK)/drivers/crypto/octeontx2
22
23 CFLAGS += -O3
24 CFLAGS += -I$(RTE_SDK)/drivers/common/cpt
25 CFLAGS += -I$(RTE_SDK)/drivers/common/octeontx2
26
27 # PMD code
28 SRCS-$(CONFIG_RTE_LIBRTE_PMD_OCTEONTX2_CRYPTO) += otx2_cryptodev.c
29 SRCS-$(CONFIG_RTE_LIBRTE_PMD_OCTEONTX2_CRYPTO) += otx2_cryptodev_ops.c
30
31 # export include files
32 SYMLINK-y-include +=
33
34 # versioning export map
35 EXPORT_MAP := rte_pmd_octeontx2_crypto_version.map
36
37 include $(RTE_SDK)/mk/rte.lib.mk