]> git.droids-corp.org - dpdk.git/commitdiff
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 aa2621bd3032bdb70fd4bae938d0911a4b96c47c..3c70ee826837d240756082644688648a64f2f370 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 ee5827026c35126bf35b39f4f1d5d3e83bb71a9f..17b15ef205718cdb800e449c13c278b6539b3d28 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