summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2025-08-21 12:02:42 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-08-25 17:47:21 +0100
commitdae1dcaa8f9332af5dcd1085c8f0b361eb3663ae (patch)
tree5a7b4e5f0251bb6a8634e376c8e69a3a1b732b11
parent47b1a709ab0a10df07f2fa66e35dd3822c397cdf (diff)
downloadpoky-dae1dcaa8f9332af5dcd1085c8f0b361eb3663ae.tar.gz
nghttp2: rewrite recipe to be an idiomatic library recipe
This recipe for nghttp2 doesn't build any of the binaries, just the core library, but is structured like a recipe that is primarily an application that happens to ship libraries. Remove the lib${BPN} package and put the library into PN (which will then be debian-renamed). Use the shorthand option to just build the library. Add documentation enabling/disabling options so we don't install the docs if not needed. Currently there are no extra dependencies as the sphinx-generated manpages are pre-built in the tarballs, but this could change. (From OE-Core rev: 0fe1fb05cf6b36d70d43b3bd245a53ac36d389fa) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-support/nghttp2/nghttp2_1.66.0.bb13
1 files changed, 2 insertions, 11 deletions
diff --git a/meta/recipes-support/nghttp2/nghttp2_1.66.0.bb b/meta/recipes-support/nghttp2/nghttp2_1.66.0.bb
index 123ddb2d08..49d6d7e632 100644
--- a/meta/recipes-support/nghttp2/nghttp2_1.66.0.bb
+++ b/meta/recipes-support/nghttp2/nghttp2_1.66.0.bb
@@ -8,18 +8,9 @@ SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/nghttp2-${PV}.tar.xz"
8SRC_URI[sha256sum] = "00ba1bdf0ba2c74b2a4fe6c8b1069dc9d82f82608af24442d430df97c6f9e631" 8SRC_URI[sha256sum] = "00ba1bdf0ba2c74b2a4fe6c8b1069dc9d82f82608af24442d430df97c6f9e631"
9 9
10inherit cmake manpages python3native github-releases 10inherit cmake manpages python3native github-releases
11PACKAGECONFIG[manpages] = ""
12 11
13# examples are never installed, and don't need to be built in the 12PACKAGECONFIG[manpages] = "-DENABLE_DOC=ON,-DENABLE_DOC=OFF"
14# first place
15EXTRA_OECMAKE = "-DENABLE_EXAMPLES=OFF -DENABLE_APP=OFF -DENABLE_HPACK_TOOLS=OFF -DENABLE_PYTHON_BINDINGS=OFF"
16 13
17PACKAGES =+ "lib${BPN}" 14EXTRA_OECMAKE = "-DENABLE_LIB_ONLY=ON -DENABLE_PYTHON_BINDINGS=OFF"
18
19RDEPENDS:${PN}:class-native = ""
20
21ALLOW_EMPTY:${PN} = "1"
22FILES:${PN} = ""
23FILES:lib${BPN} = "${libdir}/*${SOLIBS}"
24 15
25BBCLASSEXTEND = "native nativesdk" 16BBCLASSEXTEND = "native nativesdk"