From: Thomas Monjalon <thomas.monjalon@6wind.com>
Date: Thu, 18 Feb 2016 19:16:32 +0000 (+0100)
Subject: aesni_mb: fix build clean
X-Git-Tag: spdx-start~7601
X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=e277b239708a86b4ec17f8df468e76ab764f8f3f;p=dpdk.git

aesni_mb: fix build clean

The variable AESNI_MULTI_BUFFER_LIB_PATH is not required for
	make clean

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Acked-by: Declan Doherty <declan.doherty@intel.com>
---

diff --git a/drivers/crypto/aesni_mb/Makefile b/drivers/crypto/aesni_mb/Makefile
index 3bf83d1143..ec65291ff8 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