Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Brandon Maier" <brandon.maier@gmail.com>
To: "Vincent Jardin" <vjardin@free.fr>, <buildroot@buildroot.org>
Cc: "Eric Le Bihan" <eric.le.bihan.dev@free.fr>,
	"Robin Jarry" <robin@jarry.cc>
Subject: Re: [Buildroot] [PATCH v5 2/2] doc/manual/adding-packages-meson.adoc: tags
Date: Mon, 09 Dec 2024 18:08:45 -0600	[thread overview]
Message-ID: <D67L0SLHFKBX.2N0314A43JOJC@gmail.com> (raw)
In-Reply-To: <20241206213002.24669-3-vjardin@free.fr>

Hi Vincent,

On Fri Dec 6, 2024 at 3:30 PM CST, Vincent Jardin wrote:
> Described the usage of FOO_MESON_INSTALL_TAGS=YES which decreases
> the footprint of the target since only the runtime will be installed.
> All the other development header files or libraries will be installed
> into the staging folder.
>
> Signed-off-by: Vincent Jardin <vjardin@free.fr>
> Suggested-by: Brandon Maier <brandon.maier@gmail.com>
> ---
>  docs/manual/adding-packages-meson.adoc | 5 +++++
>  package/pkg-meson.mk                   | 4 ++--
>  2 files changed, 7 insertions(+), 2 deletions(-)
>
> diff --git a/docs/manual/adding-packages-meson.adoc b/docs/manual/adding-packages-meson.adoc
> index 01891e03cc..b7c987ddd1 100644
> --- a/docs/manual/adding-packages-meson.adoc
> +++ b/docs/manual/adding-packages-meson.adoc
> @@ -124,6 +124,11 @@ will therefore only use a few of them.
>    +c_link_args+, +cpp_args+, +cpp_link_args+, +sys_root+, and
>    +pkg_config_libdir+.
>
> +* +FOO_MESON_INSTALL_TAGS+, can be set to +YES+ to enable meson's `--runtime` and
> +  `--devel` installation modes for the target and staging folders, respectively.
> +  This configuration is necessary to prevent meson from installing development
> +  artifacts into the target folder.
> +
>  * +FOO_NINJA_ENV+, to specify additional environment variables to pass to
>    +ninja+, meson companion tool in charge of the build operations. By default,
>    empty.
> diff --git a/package/pkg-meson.mk b/package/pkg-meson.mk
> index 4568f8690e..a4e77cde42 100644
> --- a/package/pkg-meson.mk
> +++ b/package/pkg-meson.mk
> @@ -235,7 +235,7 @@ ifndef $(2)_INSTALL_STAGING_CMDS
>  define $(2)_INSTALL_STAGING_CMDS
>  	$$(TARGET_MAKE_ENV) $$($$(PKG)_NINJA_ENV) DESTDIR=$$(STAGING_DIR) \
>  		$$(MESON) install -C \
> -		  $$($$(PKG)_SRCDIR)/build $(if $(filter YES,$($(2)_MESON_INSTALL_TAGS)),--tags=runtime$(comma)devel)
> +		  $$($$(PKG)_SRCDIR)/build $$(if $$(filter YES,$$($$(PKG)_MESON_INSTALL_TAGS)),--tags=runtime$(comma)devel)

It looks like these changes accidentally got applied to the
wrong patch.

>  endef
>  endif
>
> @@ -247,7 +247,7 @@ ifndef $(2)_INSTALL_TARGET_CMDS
>  define $(2)_INSTALL_TARGET_CMDS
>  	$$(TARGET_MAKE_ENV) $$($$(PKG)_NINJA_ENV) DESTDIR=$$(TARGET_DIR) \
>  		$$(MESON) install -C \
> -		  $$($$(PKG)_SRCDIR)/build $(if $(filter YES,$($(2)_MESON_INSTALL_TAGS)),--tags=runtime)
> +		  $$($$(PKG)_SRCDIR)/build $$(if $$(filter YES,$$($$(PKG)_MESON_INSTALL_TAGS)),--tags=runtime)
>  endef
>  endif
>
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2024-12-10  0:08 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-19 20:59 [Buildroot] [PATCH 1/1] package/pkg-meson: h files only into sysroot Vincent Jardin
2024-11-21 13:49 ` Brandon Maier
2024-11-22  0:20   ` Vincent Jardin
2024-11-26 14:17     ` Brandon Maier
2024-11-26 18:10       ` Vincent Jardin
2024-11-26 19:57         ` Brandon Maier
2024-11-27  1:29           ` [Buildroot] [PATCH v2 0/2] meson install with optional tags Vincent Jardin
2024-11-27  1:30             ` [Buildroot] [PATCH v2 1/2] package/pkg-meson: h files only into sysroot Vincent Jardin
2024-11-29 23:42               ` Brandon Maier
2024-12-02 15:39                 ` Vincent Jardin
2024-12-02 15:46                   ` [Buildroot] [PATCH v3 0/2] meson install with optional tags Vincent Jardin
2024-12-02 15:46                     ` [Buildroot] [PATCH v3 1/2] package/pkg-meson: h files only into sysroot Vincent Jardin
2024-12-02 15:46                     ` [Buildroot] [PATCH v3 2/2] doc/manual/adding-packages-meson.adoc: tags Vincent Jardin
2024-12-03 14:00                   ` [Buildroot] [PATCH v4 0/2] meson install with optional tags Vincent Jardin
2024-12-03 14:00                     ` [Buildroot] [PATCH v4 1/2] package/pkg-meson: h files only into sysroot Vincent Jardin
2024-12-06 13:45                       ` Brandon Maier
2024-12-06 21:30                         ` [Buildroot] [PATCH v5 0/2] meson install with optional tags Vincent Jardin
2024-12-06 21:30                           ` [Buildroot] [PATCH v5 1/2] package/pkg-meson: h files only into sysroot Vincent Jardin
2024-12-06 21:30                           ` [Buildroot] [PATCH v5 2/2] doc/manual/adding-packages-meson.adoc: tags Vincent Jardin
2024-12-10  0:08                             ` Brandon Maier [this message]
2025-01-02 16:46                               ` [Buildroot] [PATCH v6 0/2] meson install with optional tags Vincent Jardin
2025-01-02 16:46                                 ` [Buildroot] [PATCH v6 1/2] package/pkg-meson: h files only into sysroot Vincent Jardin
2025-01-10  0:08                                   ` Brandon Maier
2025-01-26 11:14                                   ` Thomas Petazzoni via buildroot
2025-01-02 16:46                                 ` [Buildroot] [PATCH v6 2/2] doc/manual/adding-packages-meson.adoc: tags Vincent Jardin
2025-01-10  0:09                                   ` Brandon Maier
2025-01-26 10:23                                     ` Vincent Jardin
2025-01-26 11:15                                   ` Thomas Petazzoni via buildroot
2025-01-02 16:50                               ` [Buildroot] [PATCH v5 " Vincent Jardin
2024-12-03 14:00                     ` [Buildroot] [PATCH v4 " Vincent Jardin
2024-12-06 13:47                   ` [Buildroot] [PATCH v2 1/2] package/pkg-meson: h files only into sysroot Brandon Maier
2024-12-06 21:51                     ` Vincent Jardin
2024-11-27  1:30             ` [Buildroot] [PATCH v2 2/2] doc/manual/adding-packages-meson.adoc: tags Vincent Jardin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=D67L0SLHFKBX.2N0314A43JOJC@gmail.com \
    --to=brandon.maier@gmail.com \
    --cc=buildroot@buildroot.org \
    --cc=eric.le.bihan.dev@free.fr \
    --cc=robin@jarry.cc \
    --cc=vjardin@free.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox