* [PATCH] Use the built-in options for removing pack tools
@ 2021-06-16 18:19 ed
2021-06-16 19:53 ` [OE-core] " Khem Raj
0 siblings, 1 reply; 2+ messages in thread
From: ed @ 2021-06-16 18:19 UTC (permalink / raw)
To: openembedded-core; +Cc: Ed Tanous
From: Ed Tanous <ed@tanous.net>
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>
---
meta-networking/recipes-support/nghttp2/nghttp2_1.43.0.bb | 6 +-----
1 file changed, 1 insertion(+), 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] = ""
# examples are never installed, and don't need to be built in the
# first place
-EXTRA_OECMAKE = "-DENABLE_EXAMPLES=OFF -DENABLE_APP=ON"
-
-do_install_append() {
- rm ${D}${bindir}/deflatehd ${D}${bindir}/inflatehd
-}
+EXTRA_OECMAKE = "-DENABLE_EXAMPLES=OFF -DENABLE_APP=ON -DENABLE_HPACK_TOOLS=OFF"
PACKAGES =+ "lib${PN} ${PN}-client ${PN}-proxy ${PN}-server"
--
2.32.0.272.g935e593368-goog
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [OE-core] [PATCH] Use the built-in options for removing pack tools
2021-06-16 18:19 [PATCH] Use the built-in options for removing pack tools ed
@ 2021-06-16 19:53 ` Khem Raj
0 siblings, 0 replies; 2+ messages in thread
From: Khem Raj @ 2021-06-16 19:53 UTC (permalink / raw)
To: ed, openembedded-core
On 6/16/21 11:19 AM, ed@tanous.net wrote:
> From: Ed Tanous <ed@tanous.net>
>
> 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>
> ---
> meta-networking/recipes-support/nghttp2/nghttp2_1.43.0.bb | 6 +-----
> 1 file changed, 1 insertion(+), 5 deletions(-)
Thanks for this patch, this is wrong list for meta-openembedded patches,
please send meta-openembedded patches to
openembedded-devel@lists.openembedded.org ml
>
> 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] = ""
>
> # examples are never installed, and don't need to be built in the
> # first place
> -EXTRA_OECMAKE = "-DENABLE_EXAMPLES=OFF -DENABLE_APP=ON"
> -
> -do_install_append() {
> - rm ${D}${bindir}/deflatehd ${D}${bindir}/inflatehd
> -}
> +EXTRA_OECMAKE = "-DENABLE_EXAMPLES=OFF -DENABLE_APP=ON -DENABLE_HPACK_TOOLS=OFF"
>
> PACKAGES =+ "lib${PN} ${PN}-client ${PN}-proxy ${PN}-server"
>
>
>
>
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-06-16 19:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-16 18:19 [PATCH] Use the built-in options for removing pack tools ed
2021-06-16 19:53 ` [OE-core] " Khem Raj
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.