diff options
author | Ed Tanous <ed@tanous.net> | 2021-06-16 11:19:56 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-06-18 08:39:32 -0700 |
commit | df8ecfeacfc84a34a0696a48f3a1dc6d83496271 (patch) | |
tree | d2716ef21f5572b1cea0e1186114f0185f5599a9 /meta-networking | |
parent | a15ef36f6dd3436e4d3d70967f92970b2e860dfb (diff) | |
download | meta-openembedded-df8ecfeacfc84a34a0696a48f3a1dc6d83496271.tar.gz |
Use the built-in options for removing pack tools
For distros that want to use the ENABLE_LIB_ONLY option, the rm call
will fail, because ENABLE_HPACK_TOOLS (set implicitly as part of
ENABLE_LIB_ONLY) removes those two binaries from the build, so they then
can't be removed again. This commit sets ENABLE_HPACK_TOOLS=OFF, which not
only allows for the option to be overridden in other meta layers, also
allows a simplified use of ENABLE_LIB_ONLY in meta layers that don't
want to ship the binaries.
Signed-off-by: Ed Tanous <ed@tanous.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking')
-rw-r--r-- | meta-networking/recipes-support/nghttp2/nghttp2_1.43.0.bb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/meta-networking/recipes-support/nghttp2/nghttp2_1.43.0.bb b/meta-networking/recipes-support/nghttp2/nghttp2_1.43.0.bb index 959cccf35..08b855262 100644 --- a/meta-networking/recipes-support/nghttp2/nghttp2_1.43.0.bb +++ b/meta-networking/recipes-support/nghttp2/nghttp2_1.43.0.bb | |||
@@ -18,11 +18,7 @@ PACKAGECONFIG[manpages] = "" | |||
18 | 18 | ||
19 | # examples are never installed, and don't need to be built in the | 19 | # examples are never installed, and don't need to be built in the |
20 | # first place | 20 | # first place |
21 | EXTRA_OECMAKE = "-DENABLE_EXAMPLES=OFF -DENABLE_APP=ON" | 21 | EXTRA_OECMAKE = "-DENABLE_EXAMPLES=OFF -DENABLE_APP=ON -DENABLE_HPACK_TOOLS=OFF" |
22 | |||
23 | do_install_append() { | ||
24 | rm ${D}${bindir}/deflatehd ${D}${bindir}/inflatehd | ||
25 | } | ||
26 | 22 | ||
27 | PACKAGES =+ "lib${PN} ${PN}-client ${PN}-proxy ${PN}-server" | 23 | PACKAGES =+ "lib${PN} ${PN}-client ${PN}-proxy ${PN}-server" |
28 | 24 | ||