summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/cryptodev/files/0001-Add-the-compile-and-install-rules-for-cryptodev-test.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-kernel/cryptodev/files/0001-Add-the-compile-and-install-rules-for-cryptodev-test.patch')
-rw-r--r--meta/recipes-kernel/cryptodev/files/0001-Add-the-compile-and-install-rules-for-cryptodev-test.patch23
1 files changed, 10 insertions, 13 deletions
diff --git a/meta/recipes-kernel/cryptodev/files/0001-Add-the-compile-and-install-rules-for-cryptodev-test.patch b/meta/recipes-kernel/cryptodev/files/0001-Add-the-compile-and-install-rules-for-cryptodev-test.patch
index cb871f6b44..3f0298b0b0 100644
--- a/meta/recipes-kernel/cryptodev/files/0001-Add-the-compile-and-install-rules-for-cryptodev-test.patch
+++ b/meta/recipes-kernel/cryptodev/files/0001-Add-the-compile-and-install-rules-for-cryptodev-test.patch
@@ -15,12 +15,12 @@ Upstream-Status: Pending
15 2 files changed, 14 insertions(+), 0 deletions(-) 15 2 files changed, 14 insertions(+), 0 deletions(-)
16 16
17diff --git a/Makefile b/Makefile 17diff --git a/Makefile b/Makefile
18index 2be8825..4cbb865 100644 18index 31c4b3f..2ecf2a9 100644
19--- a/Makefile 19--- a/Makefile
20+++ b/Makefile 20+++ b/Makefile
21@@ -17,6 +17,9 @@ install: 21@@ -34,6 +34,9 @@ modules_install:
22 @echo "Installing cryptodev.h in /usr/include/crypto ..." 22 @echo "Installing cryptodev.h in $(PREFIX)/usr/include/crypto ..."
23 @install -D crypto/cryptodev.h /usr/include/crypto/cryptodev.h 23 @install -D crypto/cryptodev.h $(PREFIX)/usr/include/crypto/cryptodev.h
24 24
25+install_tests: 25+install_tests:
26+ make -C tests install DESTDIR=$(PREFIX) 26+ make -C tests install DESTDIR=$(PREFIX)
@@ -28,18 +28,18 @@ index 2be8825..4cbb865 100644
28 clean: 28 clean:
29 make -C $(KERNEL_DIR) SUBDIRS=`pwd` clean 29 make -C $(KERNEL_DIR) SUBDIRS=`pwd` clean
30 rm -f $(hostprogs) *~ 30 rm -f $(hostprogs) *~
31@@ -25,6 +28,9 @@ clean: 31@@ -42,6 +45,9 @@ clean:
32 check: 32 check:
33 KERNEL_DIR=$(KERNEL_DIR) make -C tests check 33 CFLAGS=$(CRYPTODEV_CFLAGS) KERNEL_DIR=$(KERNEL_DIR) make -C tests check
34 34
35+testprogs: 35+testprogs:
36+ KERNEL_DIR=$(KERNEL_DIR) make -C tests testprogs 36+ KERNEL_DIR=$(KERNEL_DIR) make -C tests testprogs
37+ 37+
38 FILEBASE = cryptodev-linux-$(VERSION) 38 CPOPTS =
39 TMPDIR ?= /tmp 39 ifneq (${SHOW_TYPES},)
40 OUTPUT = $(FILEBASE).tar.gz 40 CPOPTS += --show-types
41diff --git a/tests/Makefile b/tests/Makefile 41diff --git a/tests/Makefile b/tests/Makefile
42index 87ca3c7..0488cf6 100644 42index c9f04e8..cd202af 100644
43--- a/tests/Makefile 43--- a/tests/Makefile
44+++ b/tests/Makefile 44+++ b/tests/Makefile
45@@ -19,6 +19,12 @@ example-async-hmac-objs := async_hmac.o 45@@ -19,6 +19,12 @@ example-async-hmac-objs := async_hmac.o
@@ -64,6 +64,3 @@ index 87ca3c7..0488cf6 100644
64 clean: 64 clean:
65 rm -f *.o *~ $(hostprogs) 65 rm -f *.o *~ $(hostprogs)
66 66
67--
681.7.5.4
69