The build target is useful with cross-compilation. In this case it
makes sense to build the tests without running them on the host machine.

Signed-off-by: Cristian Stoica <cristian.sto...@nxp.com>
---
 tests/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/Makefile b/tests/Makefile
index 3155da9..898e9a1 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -19,7 +19,9 @@ example-async-hmac-objs := async_hmac.o
 example-async-speed-objs := async_speed.o
 example-hashcrypt-speed-objs := hashcrypt_speed.c
 
-check: $(hostprogs)
+build: $(hostprogs)
+
+check: build
        ./cipher
        ./hmac
        ./async_cipher
-- 
2.7.0


_______________________________________________
Cryptodev-linux-devel mailing list
Cryptodev-linux-devel@gna.org
https://mail.gna.org/listinfo/cryptodev-linux-devel

Reply via email to