From: Ilya Maximets Date: Mon, 10 Apr 2017 08:14:19 +0000 (+0300) Subject: app: do not build test-crypto-perf if cryptodev disabled X-Git-Tag: spdx-start~3685 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=5ae1274fb01bac5c9aff3e992569331b94965880;p=dpdk.git app: do not build test-crypto-perf if cryptodev disabled This fixes build in following configuration: CONFIG_RTE_LIBRTE_CRYPTODEV=n CONFIG_RTE_APP_CRYPTO_PERF=y Fixes: f8be1786b1b8 ("app/crypto-perf: introduce performance test application") Cc: stable@dpdk.org Signed-off-by: Ilya Maximets Acked-by: Pablo de Lara --- diff --git a/app/Makefile b/app/Makefile index 4b3a4487e0..c3aeebf6be 100644 --- a/app/Makefile +++ b/app/Makefile @@ -32,8 +32,11 @@ include $(RTE_SDK)/mk/rte.vars.mk DIRS-$(CONFIG_RTE_TEST_PMD) += test-pmd -DIRS-$(CONFIG_RTE_APP_CRYPTO_PERF) += test-crypto-perf DIRS-$(CONFIG_RTE_EXEC_ENV_LINUXAPP) += proc_info DIRS-$(CONFIG_RTE_LIBRTE_PDUMP) += pdump +ifeq ($(CONFIG_RTE_LIBRTE_CRYPTODEV),y) +DIRS-$(CONFIG_RTE_APP_CRYPTO_PERF) += test-crypto-perf +endif + include $(RTE_SDK)/mk/rte.subdir.mk