From: Thomas Monjalon Date: Fri, 17 Jun 2016 13:20:16 +0000 (+0200) Subject: mk: fix build clean X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=1eec9aa301c9e36e919fb9a9fe232c7e7db613a3;p=dpdk.git 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 --- 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