From 1eec9aa301c9e36e919fb9a9fe232c7e7db613a3 Mon Sep 17 00:00:00 2001 From: Thomas Monjalon Date: Fri, 17 Jun 2016 15:20:16 +0200 Subject: [PATCH] mk: fix build clean 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 --- drivers/crypto/aesni_gcm/Makefile | 2 ++ drivers/crypto/snow3g/Makefile | 2 ++ 2 files changed, 4 insertions(+) diff --git a/drivers/crypto/aesni_gcm/Makefile b/drivers/crypto/aesni_gcm/Makefile index aa2621bd30..3c70ee8268 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 ee5827026c..17b15ef205 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 -- 2.20.1