summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/beecrypt/beecrypt/beecrypt-enable-ptest-support.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/beecrypt/beecrypt/beecrypt-enable-ptest-support.patch')
-rw-r--r--meta/recipes-support/beecrypt/beecrypt/beecrypt-enable-ptest-support.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/meta/recipes-support/beecrypt/beecrypt/beecrypt-enable-ptest-support.patch b/meta/recipes-support/beecrypt/beecrypt/beecrypt-enable-ptest-support.patch
new file mode 100644
index 0000000000..3e5513fce9
--- /dev/null
+++ b/meta/recipes-support/beecrypt/beecrypt/beecrypt-enable-ptest-support.patch
@@ -0,0 +1,37 @@
1beecrypt: enable ptest support
2
3Upstream-Status: Inappropriate [embedded specific]
4
5Add install-ptest rules.
6
7Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
8---
9 Makefile.am | 3 +++
10 tests/Makefile.am | 3 +++
11 2 files changed, 6 insertions(+)
12
13diff --git a/Makefile.am b/Makefile.am
14index b7e7869..5076f59 100644
15--- a/Makefile.am
16+++ b/Makefile.am
17@@ -73,3 +73,6 @@ DISTCLEANFILES = mpopt.s blowfishopt.s sha1opt.s
18
19 bench:
20 (cd tests && $(MAKE) $(AM_MAKEFLAGS) bench)
21+
22+install-ptest:
23+ (cd tests && $(MAKE) $(AM_MAKEFLAGS) check_PROGRAMS)
24diff --git a/tests/Makefile.am b/tests/Makefile.am
25index 1604e5e..d8db8d8 100644
26--- a/tests/Makefile.am
27+++ b/tests/Makefile.am
28@@ -101,3 +101,6 @@ bench: benchme benchrsa benchhf benchbc
29 ./benchbc AES 128
30 ./benchbc Blowfish 128
31 ./benchbc Blowfish 128
32+
33+check_PROGRAMS:
34+ $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
35--
361.8.1.2
37