diff options
author | Yuan Chao <yuanc.fnst@cn.fujitsu.com> | 2019-08-06 13:05:56 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-08-07 16:08:15 +0100 |
commit | c1ac9c679066402375909ebb7a96962f4596c035 (patch) | |
tree | fec2fe8148dd9c470f3cce1813b9588d3a4a5d64 /meta/recipes-support/nettle/nettle-3.5.1/Add-target-to-only-build-tests-not-run-them.patch | |
parent | 060e7db0c4988e762fe874070af6c8ad8562822d (diff) | |
download | poky-c1ac9c679066402375909ebb7a96962f4596c035.tar.gz |
nettle:upgrade 3.4.1 -> 3.5.1
nettle-stdint.h was no longer use.
Remove nettle/nettle-stdint.h in do_install_append() of .bb file.
Changelog in ChangeLog file as follows:
2019-01-06 Niels Möller <nisse@lysator.liu.se>
* nettle-types.h: Don't use nettle-stdint.h, include <stdint.h>
directly.
* nettle-write.h: Likewise.
* configure.ac: Delete use of AX_CREATE_STDINT_H.
* aclocal.m4 (AX_CREATE_STDINT_H): Delete.
* Makefile.in (INSTALL_HEADERS, distclean-here): Delete mention of
nettle-stdint.h.
(From OE-Core rev: a44e40675e151eb079d7d9e87e734ca5cfb923b5)
Signed-off-by: Yuan Chao <yuanc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/nettle/nettle-3.5.1/Add-target-to-only-build-tests-not-run-them.patch')
-rw-r--r-- | meta/recipes-support/nettle/nettle-3.5.1/Add-target-to-only-build-tests-not-run-them.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/meta/recipes-support/nettle/nettle-3.5.1/Add-target-to-only-build-tests-not-run-them.patch b/meta/recipes-support/nettle/nettle-3.5.1/Add-target-to-only-build-tests-not-run-them.patch new file mode 100644 index 0000000000..c007060ee6 --- /dev/null +++ b/meta/recipes-support/nettle/nettle-3.5.1/Add-target-to-only-build-tests-not-run-them.patch | |||
@@ -0,0 +1,38 @@ | |||
1 | Add target to only build tests (not run them) | ||
2 | |||
3 | Not sending upstream as this is only a start of a solution to | ||
4 | installable tests: It's useful for us already as is. | ||
5 | |||
6 | Upstream-Status: Inappropriate [not a complete solution] | ||
7 | |||
8 | Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> | ||
9 | Refactored for 3.4 | ||
10 | Signed-off-by: Armin Kuster <akuster@mvista.com> | ||
11 | |||
12 | Index: nettle-3.4/Makefile.in | ||
13 | =================================================================== | ||
14 | --- nettle-3.4.orig/Makefile.in | ||
15 | +++ nettle-3.4/Makefile.in | ||
16 | @@ -55,6 +55,9 @@ clean distclean mostlyclean maintainer-c | ||
17 | echo "Making $@ in $$d" ; (cd $$d && $(MAKE) $@); done | ||
18 | $(MAKE) $@-here | ||
19 | |||
20 | +buildtest: | ||
21 | + echo "Making $@ in testsuite" ; (cd testsuite && $(MAKE) $@) | ||
22 | + | ||
23 | check-here: | ||
24 | true | ||
25 | |||
26 | Index: nettle-3.4/testsuite/Makefile.in | ||
27 | =================================================================== | ||
28 | --- nettle-3.4.orig/testsuite/Makefile.in | ||
29 | +++ nettle-3.4/testsuite/Makefile.in | ||
30 | @@ -131,6 +131,8 @@ $(TARGETS) $(EXTRA_TARGETS): testutils.$ | ||
31 | # data. | ||
32 | VALGRIND = valgrind --error-exitcode=1 --leak-check=full --show-reachable=yes @IF_ASM@ --partial-loads-ok=yes | ||
33 | |||
34 | +buildtest: $(TS_ALL) | ||
35 | + | ||
36 | # The PATH update is for windows dlls, DYLD_LIBRARY_PATH is for OSX. | ||
37 | check: $(TS_ALL) | ||
38 | LD_LIBRARY_PATH=../.lib PATH="../.lib:$$PATH" DYLD_LIBRARY_PATH=../.lib \ | ||