summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/nettle/nettle_3.4.bb
diff options
context:
space:
mode:
authorChangqing Li <changqing.li@windriver.com>2018-06-05 15:58:36 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-07-02 11:41:26 +0100
commitc029685b1853dc7d51664590de5c2d8ba0600eba (patch)
treed1721ce391408ddac4bf4f99a03dde62bceef030 /meta/recipes-support/nettle/nettle_3.4.bb
parentd62fbd628118d00164f0f99e5f61477d7ae5d719 (diff)
downloadpoky-c029685b1853dc7d51664590de5c2d8ba0600eba.tar.gz
nettle: do the multilib_header magic for nettle-stdint.h and version.h
add multilib support for this receipe, or it will conflicts in mutlilib setting (From OE-Core rev: ea618e061fa190e4ae647da6466d074b49940395) (From OE-Core rev: 5a77f191a451c8592be605020597253b37cea1e9) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit c8a1e372f3aa962b483b4f2280c7c44392c8b2f7) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/nettle/nettle_3.4.bb')
-rw-r--r--meta/recipes-support/nettle/nettle_3.4.bb6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-support/nettle/nettle_3.4.bb b/meta/recipes-support/nettle/nettle_3.4.bb
index 7a3cc654c8..ca8450ea99 100644
--- a/meta/recipes-support/nettle/nettle_3.4.bb
+++ b/meta/recipes-support/nettle/nettle_3.4.bb
@@ -25,7 +25,7 @@ SRC_URI[sha256sum] = "ae7a42df026550b85daca8389b6a60ba6313b0567f374392e54918588a
25 25
26UPSTREAM_CHECK_REGEX = "nettle-(?P<pver>\d+(\.\d+)+)\.tar" 26UPSTREAM_CHECK_REGEX = "nettle-(?P<pver>\d+(\.\d+)+)\.tar"
27 27
28inherit autotools ptest 28inherit autotools ptest multilib_header
29 29
30EXTRA_AUTORECONF += "--exclude=aclocal" 30EXTRA_AUTORECONF += "--exclude=aclocal"
31 31
@@ -35,6 +35,10 @@ do_compile_ptest() {
35 oe_runmake buildtest 35 oe_runmake buildtest
36} 36}
37 37
38do_install_append() {
39 oe_multilib_header nettle/nettle-stdint.h nettle/version.h
40}
41
38do_install_ptest() { 42do_install_ptest() {
39 install -d ${D}${PTEST_PATH}/testsuite/ 43 install -d ${D}${PTEST_PATH}/testsuite/
40 install ${S}/testsuite/gold-bug.txt ${D}${PTEST_PATH}/testsuite/ 44 install ${S}/testsuite/gold-bug.txt ${D}${PTEST_PATH}/testsuite/