From: Jarkko Sakkinen <jarkko@kernel.org>
To: buildroot@buildroot.org
Cc: Jarkko Sakkinen <jarkko@kernel.org>,
"Yann E . MORIN" <yann.morin.1998@free.fr>,
Stefan Berger <stefanb@linux.ibm.com>
Subject: [Buildroot] [PATCH v3 1/3] package/json-glib: add host build
Date: Mon, 20 May 2024 00:02:33 +0300 [thread overview]
Message-ID: <20240519210235.8493-2-jarkko@kernel.org> (raw)
In-Reply-To: <20240519210235.8493-1-jarkko@kernel.org>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
---
v3:
- Remove host kconfig symbol.
- HOST_JSON_GLIB_CONF_OPTS = -Dintrospection=disabled
v2:
- Disable GOI and NLS for the host.
- Add the missing host config.
---
package/json-glib/json-glib.mk | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/package/json-glib/json-glib.mk b/package/json-glib/json-glib.mk
index cd53f24cee..cc9f8c9fa1 100644
--- a/package/json-glib/json-glib.mk
+++ b/package/json-glib/json-glib.mk
@@ -18,6 +18,11 @@ JSON_GLIB_DEPENDENCIES = \
host-pkgconf \
libglib2
+HOST_JSON_GLIB_DEPENDENCIES = \
+ host-pkgconf \
+ host-libglib2
+HOST_JSON_GLIB_CONF_OPTS = -Dintrospection=disabled
+
ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
JSON_GLIB_CONF_OPTS += -Dintrospection=enabled
JSON_GLIB_DEPENDENCIES += gobject-introspection
@@ -34,3 +39,4 @@ endif
JSON_GLIB_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS)
$(eval $(meson-package))
+$(eval $(host-meson-package))
--
2.45.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2024-05-19 21:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-19 21:02 [Buildroot] [PATCH v3 0/3] swtpm and libtpms host packages Jarkko Sakkinen
2024-05-19 21:02 ` Jarkko Sakkinen [this message]
2024-05-19 21:02 ` [Buildroot] [PATCH v3 2/3] package/libtpms: add host package Jarkko Sakkinen
2024-05-20 3:06 ` Baruch Siach via buildroot
2024-05-19 21:02 ` [Buildroot] [PATCH v3 3/3] package/swtpm: " Jarkko Sakkinen
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=20240519210235.8493-2-jarkko@kernel.org \
--to=jarkko@kernel.org \
--cc=buildroot@buildroot.org \
--cc=stefanb@linux.ibm.com \
--cc=yann.morin.1998@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