[dpdk-dev] [PATCH] aesni_mb: fix build clean

Thomas Monjalon thomas.monjalon at 6wind.com
Thu Feb 18 20:21:40 CET 2016


The variable AESNI_MULTI_BUFFER_LIB_PATH is not required for
	make clean

Signed-off-by: Thomas Monjalon <thomas.monjalon at 6wind.com>
---
 drivers/crypto/aesni_mb/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/crypto/aesni_mb/Makefile b/drivers/crypto/aesni_mb/Makefile
index 3bf83d1..ec65291 100644
--- a/drivers/crypto/aesni_mb/Makefile
+++ b/drivers/crypto/aesni_mb/Makefile
@@ -30,9 +30,11 @@
 
 include $(RTE_SDK)/mk/rte.vars.mk
 
+ifneq ($(MAKECMDGOALS),clean)
 ifeq ($(AESNI_MULTI_BUFFER_LIB_PATH),)
 $(error "Please define AESNI_MULTI_BUFFER_LIB_PATH environment variable")
 endif
+endif
 
 # library name
 LIB = librte_pmd_aesni_mb.a
-- 
2.7.0



More information about the dev mailing list