[dpdk-dev] mk: fix build clean

Message ID 1466169769-18456-1-git-send-email-thomas.monjalon@6wind.com (mailing list archive)
State Accepted, archived
Headers

Commit Message

Thomas Monjalon June 17, 2016, 1:22 p.m. UTC
  The variables AESNI_MULTI_BUFFER_LIB_PATH and LIBSSO_PATH
are not required for "make clean".
It is the same fix as in the commit e277b2397.

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
---
 drivers/crypto/aesni_gcm/Makefile | 2 ++
 drivers/crypto/snow3g/Makefile    | 2 ++
 2 files changed, 4 insertions(+)
  

Comments

Thomas Monjalon June 17, 2016, 1:30 p.m. UTC | #1
2016-06-17 15:22, Thomas Monjalon:
> The variables AESNI_MULTI_BUFFER_LIB_PATH and LIBSSO_PATH
> are not required for "make clean".
> It is the same fix as in the commit e277b2397.

Fixes: eec136f3c54f ("aesni_gcm: add driver for AES-GCM crypto operations")
Fixes: 3aafc423cf4d ("snow3g: add driver for SNOW 3G library")

> Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>

Applied
  

Patch

diff --git a/drivers/crypto/aesni_gcm/Makefile b/drivers/crypto/aesni_gcm/Makefile
index aa2621b..3c70ee8 100644
--- a/drivers/crypto/aesni_gcm/Makefile
+++ b/drivers/crypto/aesni_gcm/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_gcm.a
diff --git a/drivers/crypto/snow3g/Makefile b/drivers/crypto/snow3g/Makefile
index ee58270..17b15ef 100644
--- a/drivers/crypto/snow3g/Makefile
+++ b/drivers/crypto/snow3g/Makefile
@@ -30,9 +30,11 @@ 
 
 include $(RTE_SDK)/mk/rte.vars.mk
 
+ifneq ($(MAKECMDGOALS),clean)
 ifeq ($(LIBSSO_PATH),)
 $(error "Please define LIBSSO_PATH environment variable")
 endif
+endif
 
 # library name
 LIB = librte_pmd_snow3g.a