build: check AVX512 rather than binutils version
[dpdk.git] / drivers / crypto / scheduler / 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 # library name
7 LIB = librte_pmd_crypto_scheduler.a
8
9 # build flags
10 CFLAGS += -O3
11 CFLAGS += $(WERROR_FLAGS)
12 LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
13 LDLIBS += -lrte_cryptodev -lrte_kvargs -lrte_reorder
14 LDLIBS += -lrte_bus_vdev
15
16 # versioning export map
17 EXPORT_MAP := rte_pmd_crypto_scheduler_version.map
18
19 #
20 # Export include files
21 #
22 SYMLINK-y-include += rte_cryptodev_scheduler_operations.h
23 SYMLINK-y-include += rte_cryptodev_scheduler.h
24
25 # library source files
26 SRCS-$(CONFIG_RTE_LIBRTE_PMD_CRYPTO_SCHEDULER) += scheduler_pmd.c
27 SRCS-$(CONFIG_RTE_LIBRTE_PMD_CRYPTO_SCHEDULER) += scheduler_pmd_ops.c
28 SRCS-$(CONFIG_RTE_LIBRTE_PMD_CRYPTO_SCHEDULER) += rte_cryptodev_scheduler.c
29 SRCS-$(CONFIG_RTE_LIBRTE_PMD_CRYPTO_SCHEDULER) += scheduler_roundrobin.c
30 SRCS-$(CONFIG_RTE_LIBRTE_PMD_CRYPTO_SCHEDULER) += scheduler_pkt_size_distr.c
31 SRCS-$(CONFIG_RTE_LIBRTE_PMD_CRYPTO_SCHEDULER) += scheduler_failover.c
32 SRCS-$(CONFIG_RTE_LIBRTE_PMD_CRYPTO_SCHEDULER) += scheduler_multicore.c
33
34 include $(RTE_SDK)/mk/rte.lib.mk