mk: fix build clean
authorThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 17 Jun 2016 13:20:16 +0000 (15:20 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 17 Jun 2016 13:29:11 +0000 (15:29 +0200)
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>
drivers/crypto/aesni_gcm/Makefile
drivers/crypto/snow3g/Makefile

index aa2621b..3c70ee8 100644 (file)
 
 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
index ee58270..17b15ef 100644 (file)
 
 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