[dpdk-dev] [PATCH] mk: fix build clean
Thomas Monjalon
thomas.monjalon at 6wind.com
Fri Jun 17 15:22:49 CEST 2016
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 at 6wind.com>
---
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 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
--
2.7.0
More information about the dev
mailing list