1 From 03257bf2aff37b78496ccc1b58a87e7baaea042a Mon Sep 17 00:00:00 2001
2 From: Cristian Stoica <cristian.stoica@nxp.com>
3 Date: Mon, 22 Feb 2016 12:17:52 +0200
4 Subject: [PATCH 2/2] Add the compile and install rules for cryptodev tests
6 (original patch Signed-off-by: Yu Zongchun <b40527@freescale.com>)
7 Signed-off-by: Cristian Stoica <cristian.stoica@nxp.com>
9 Upstream-Status: Inappropriate [ OE specific ]
12 tests/Makefile | 4 ++--
13 2 files changed, 8 insertions(+), 2 deletions(-)
15 diff --git a/Makefile b/Makefile
16 index 06202bd..a598b12 100644
19 @@ -42,6 +42,12 @@ clean:
21 CFLAGS=$(CRYPTODEV_CFLAGS) KERNEL_DIR=$(KERNEL_DIR) $(MAKE) -C tests check
24 + KERNEL_DIR=$(KERNEL_DIR) $(MAKE) -C tests all
27 + $(MAKE) -C tests install
30 ifneq ($(SHOW_TYPES),)
31 CPOPTS += --show-types
32 diff --git a/tests/Makefile b/tests/Makefile
33 index 5e3111d..cda971c 100644
36 @@ -35,9 +35,9 @@ check: $(hostprogs)
40 - install -d $(DESTDIR)/$(bindir)
41 + install -d $(DESTDIR)/$(bindir)/tests_cryptodev
42 for prog in $(hostprogs); do \
43 - install -m 755 $$prog $(DESTDIR)/$(bindir); \
44 + install -m 755 $$prog $(DESTDIR)/$(bindir)/tests_cryptodev/; \