diff options
author | Chunrong Guo <chunrong.guo@nxp.com> | 2017-07-28 15:44:09 +0800 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2017-08-07 11:42:29 -0300 |
commit | ece24e8f9a042561f188d8f09c60b146dd081c94 (patch) | |
tree | 1f9b832c30fa2740f16363187493814aca21a3c2 /recipes-kernel/cryptodev/sdk_patches/0043-add-install-target-for-tests.patch | |
parent | d586bfdde75ab6cae4f2dcdb63c068e07f4c188e (diff) | |
download | meta-freescale-ece24e8f9a042561f188d8f09c60b146dd081c94.tar.gz |
cryptodev-qoriq: update to v1.9
Signed-off-by: Chunrong Guo <B40290@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-kernel/cryptodev/sdk_patches/0043-add-install-target-for-tests.patch')
-rw-r--r-- | recipes-kernel/cryptodev/sdk_patches/0043-add-install-target-for-tests.patch | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/recipes-kernel/cryptodev/sdk_patches/0043-add-install-target-for-tests.patch b/recipes-kernel/cryptodev/sdk_patches/0043-add-install-target-for-tests.patch deleted file mode 100644 index f3b70228..00000000 --- a/recipes-kernel/cryptodev/sdk_patches/0043-add-install-target-for-tests.patch +++ /dev/null | |||
@@ -1,46 +0,0 @@ | |||
1 | From 44629033d47543d106299b6c8bed9e5c9fed1513 Mon Sep 17 00:00:00 2001 | ||
2 | From: Cristian Stoica <cristian.stoica@nxp.com> | ||
3 | Date: Thu, 11 Feb 2016 16:48:53 +0200 | ||
4 | Subject: [PATCH 43/43] add install target for tests | ||
5 | |||
6 | Signed-off-by: Cristian Stoica <cristian.stoica@nxp.com> | ||
7 | --- | ||
8 | tests/Makefile | 12 +++++++++++- | ||
9 | 1 file changed, 11 insertions(+), 1 deletion(-) | ||
10 | |||
11 | diff --git a/tests/Makefile b/tests/Makefile | ||
12 | index 89f88fe..5e3111d 100644 | ||
13 | --- a/tests/Makefile | ||
14 | +++ b/tests/Makefile | ||
15 | @@ -19,6 +19,10 @@ example-async-hmac-objs := async_hmac.o | ||
16 | example-async-speed-objs := async_speed.o | ||
17 | example-hashcrypt-speed-objs := hashcrypt_speed.c | ||
18 | |||
19 | +prefix ?= /usr/local | ||
20 | +execprefix ?= $(prefix) | ||
21 | +bindir = $(execprefix)/bin | ||
22 | + | ||
23 | all: $(hostprogs) | ||
24 | |||
25 | check: $(hostprogs) | ||
26 | @@ -30,10 +34,16 @@ check: $(hostprogs) | ||
27 | ./cipher-gcm | ||
28 | ./cipher-aead | ||
29 | |||
30 | +install: | ||
31 | + install -d $(DESTDIR)/$(bindir) | ||
32 | + for prog in $(hostprogs); do \ | ||
33 | + install -m 755 $$prog $(DESTDIR)/$(bindir); \ | ||
34 | + done | ||
35 | + | ||
36 | clean: | ||
37 | rm -f *.o *~ $(hostprogs) | ||
38 | |||
39 | ${comp_progs}: LDLIBS += -lssl -lcrypto | ||
40 | ${comp_progs}: %: %.o openssl_wrapper.o | ||
41 | |||
42 | -.PHONY: all clean check | ||
43 | +.PHONY: all clean check install | ||
44 | -- | ||
45 | 2.7.0 | ||
46 | |||