[dpdk-dev] aesni_mb: fix build clean

Message ID 1455823300-11675-1-git-send-email-thomas.monjalon@6wind.com (mailing list archive)
State Accepted, archived
Headers

Commit Message

Thomas Monjalon Feb. 18, 2016, 7:21 p.m. UTC
  The variable AESNI_MULTI_BUFFER_LIB_PATH is not required for
	make clean

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
---
 drivers/crypto/aesni_mb/Makefile | 2 ++
 1 file changed, 2 insertions(+)
  

Comments

Doherty, Declan Feb. 19, 2016, 9:37 a.m. UTC | #1
On 18/02/16 19:21, Thomas Monjalon wrote:
> The variable AESNI_MULTI_BUFFER_LIB_PATH is not required for
> 	make clean
>
> Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
> ---
>   drivers/crypto/aesni_mb/Makefile | 2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/drivers/crypto/aesni_mb/Makefile b/drivers/crypto/aesni_mb/Makefile
> index 3bf83d1..ec65291 100644
> --- a/drivers/crypto/aesni_mb/Makefile
> +++ b/drivers/crypto/aesni_mb/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_mb.a
>

Acked-by: Declan Doherty <declan.doherty@intel.com>
  
Thomas Monjalon Feb. 21, 2016, 10:53 a.m. UTC | #2
2016-02-19 09:37, Declan Doherty:
> On 18/02/16 19:21, Thomas Monjalon wrote:
> > The variable AESNI_MULTI_BUFFER_LIB_PATH is not required for
> > 	make clean
> >
> > Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
> 
> Acked-by: Declan Doherty <declan.doherty@intel.com>

Applied
  

Patch

diff --git a/drivers/crypto/aesni_mb/Makefile b/drivers/crypto/aesni_mb/Makefile
index 3bf83d1..ec65291 100644
--- a/drivers/crypto/aesni_mb/Makefile
+++ b/drivers/crypto/aesni_mb/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_mb.a