summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2023-06-08 12:59:16 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-06-09 13:55:20 +0100
commit03b693fd48bd8f8ccaada4e2d15f36a8c88817d8 (patch)
treef8e80c537b547ee866fd96f46196645cc837f951 /meta/recipes-support
parent098df1bd77ac231903194bec556bb7be20496141 (diff)
downloadpoky-03b693fd48bd8f8ccaada4e2d15f36a8c88817d8.tar.gz
nettle: inherit lib_package
Nettle is primarily a library that ships some tools, so inherit the lib_package class to package the tools in nettle-bin, and add a dependency on it to nettle-ptest. (From OE-Core rev: eacfc88e0efe534290205ca8e399629623d882aa) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support')
-rw-r--r--meta/recipes-support/nettle/nettle_3.8.1.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-support/nettle/nettle_3.8.1.bb b/meta/recipes-support/nettle/nettle_3.8.1.bb
index 184023e403..92cc966dbb 100644
--- a/meta/recipes-support/nettle/nettle_3.8.1.bb
+++ b/meta/recipes-support/nettle/nettle_3.8.1.bb
@@ -24,7 +24,7 @@ SRC_URI[sha256sum] = "364f3e2b77cd7dcde83fd7c45219c834e54b0c75e428b6f894a23d12dd
24 24
25UPSTREAM_CHECK_REGEX = "nettle-(?P<pver>\d+(\.\d+)+)\.tar" 25UPSTREAM_CHECK_REGEX = "nettle-(?P<pver>\d+(\.\d+)+)\.tar"
26 26
27inherit autotools ptest multilib_header 27inherit autotools ptest multilib_header lib_package
28 28
29EXTRA_AUTORECONF += "--exclude=aclocal" 29EXTRA_AUTORECONF += "--exclude=aclocal"
30 30
@@ -53,4 +53,6 @@ do_install_ptest() {
53 sed -i -e 's|../examples/|./|g' ${D}${PTEST_PATH}/testsuite/*-test 53 sed -i -e 's|../examples/|./|g' ${D}${PTEST_PATH}/testsuite/*-test
54} 54}
55 55
56RDEPENDS:${PN}-ptest += "${PN}-bin"
57
56BBCLASSEXTEND = "native nativesdk" 58BBCLASSEXTEND = "native nativesdk"