From: Jesse Van Gavere <jesseevg@gmail.com>
To: buildroot@buildroot.org
Cc: Jesse Van Gavere <jesseevg@gmail.com>,
Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Subject: [Buildroot] [PATCH v3 17/29] package/qt6/qt6base: add support for passing custom options
Date: Fri, 26 Aug 2022 14:52:40 +0200 [thread overview]
Message-ID: <20220826125252.16782-18-jesseevg@gmail.com> (raw)
In-Reply-To: <20220826125252.16782-1-jesseevg@gmail.com>
Signed-off-by: Jesse Van Gavere <jesseevg@gmail.com>
---
package/qt6/qt6base/Config.in | 10 ++++++++++
package/qt6/qt6base/qt6base.mk | 3 +++
2 files changed, 13 insertions(+)
diff --git a/package/qt6/qt6base/Config.in b/package/qt6/qt6base/Config.in
index 0fc54a6c27..25f848f7a7 100644
--- a/package/qt6/qt6base/Config.in
+++ b/package/qt6/qt6base/Config.in
@@ -22,6 +22,16 @@ config BR2_PACKAGE_QT6BASE_CONCURRENT
help
This options enables the Qt6Concurrent library.
+config BR2_PACKAGE_QT6BASE_CUSTOM_CONF_OPTS
+ string "Custom configuration options"
+ help
+ Define custom qt6 configuration options which can be used to
+ enable or disable options not managed by buildroot. These
+ options are appended to the ones generated by buildroot and
+ passed to qt6base during configuration.
+
+ Use cmake style '-Doption_name=ON' or -Doption_name=OFF'.
+
config BR2_PACKAGE_QT6BASE_DBUS
bool "DBus module"
depends on BR2_TOOLCHAIN_HAS_THREADS
diff --git a/package/qt6/qt6base/qt6base.mk b/package/qt6/qt6base/qt6base.mk
index 87ebc59cd6..ffb03314ec 100644
--- a/package/qt6/qt6base/qt6base.mk
+++ b/package/qt6/qt6base/qt6base.mk
@@ -184,5 +184,8 @@ ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
QT6BASE_CONF_OPTS += -DCMAKE_SHARED_LINKER_FLAGS="-latomic"
endif
+# Must be last so can override all options set by Buildroot
+QT6BASE_CONF_OPTS += $(call qstrip,$(BR2_PACKAGE_QT6BASE_CUSTOM_CONF_OPTS))
+
$(eval $(cmake-package))
$(eval $(host-cmake-package))
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2022-08-26 12:56 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-26 12:52 [Buildroot] [PATCH v3 00/29] Extend Qt6 configuration Jesse Van Gavere
2022-08-26 12:52 ` [Buildroot] [PATCH v3 01/29] package/qt6/qt6base: Add qt6base hash file Jesse Van Gavere
2022-08-26 12:52 ` [Buildroot] [PATCH v3 02/29] package/qt6/qt6base: Add license information Jesse Van Gavere
2022-08-26 12:52 ` [Buildroot] [PATCH v3 03/29] package/qt6/qt6base: add support for network module Jesse Van Gavere
2022-08-26 12:52 ` [Buildroot] [PATCH v3 04/29] package/qt6/qt6base: add support for concurrent module Jesse Van Gavere
2022-08-26 12:52 ` [Buildroot] [PATCH v3 05/29] package/qt6/qt6base: add support for xml module Jesse Van Gavere
2022-08-26 12:52 ` [Buildroot] [PATCH v3 06/29] package/qt6/qt6base: add support for test module Jesse Van Gavere
2022-08-26 12:52 ` [Buildroot] [PATCH v3 07/29] package/qt6/qt6base: add support for dbus module Jesse Van Gavere
2022-08-26 12:52 ` [Buildroot] [PATCH v3 08/29] package/qt6/qt6base: add support for syslog backend Jesse Van Gavere
2022-08-26 12:52 ` [Buildroot] [PATCH v3 09/29] package/qt6/qt6base: add qt support for journald when using systemd Jesse Van Gavere
2022-08-26 12:52 ` [Buildroot] [PATCH v3 10/29] package/qt6/qt6base: add qt support for zstd when using the package Jesse Van Gavere
2022-08-26 12:52 ` [Buildroot] [PATCH v3 11/29] package/qt6/qt6base: add qt support for SSE/AVX SIMD extensions Jesse Van Gavere
2022-08-26 12:52 ` [Buildroot] [PATCH v3 12/29] package/qt6/qt6base: add linking to libatomic Jesse Van Gavere
2022-08-26 12:52 ` [Buildroot] [PATCH v3 13/29] package/qt6/qt6base: add support to link qt to openssl Jesse Van Gavere
2022-08-26 12:52 ` [Buildroot] [PATCH v3 14/29] package/qt6/qt6base: add qt icu support Jesse Van Gavere
2022-08-26 12:52 ` [Buildroot] [PATCH v3 15/29] package/qt6/qt6base: add qt libudev support Jesse Van Gavere
2022-08-26 12:52 ` [Buildroot] [PATCH v3 16/29] package/qt6/qt6base: add qt libglib2 support Jesse Van Gavere
2022-08-26 12:52 ` Jesse Van Gavere [this message]
2022-08-26 12:52 ` [Buildroot] [PATCH v3 18/29] package/qt6/qt6base: add support for sql module w/ mysql Jesse Van Gavere
2022-08-26 12:52 ` [Buildroot] [PATCH v3 19/29] package/qt6/qt6base: add support for sql module w/ postgresql Jesse Van Gavere
2022-08-26 12:52 ` [Buildroot] [PATCH v3 20/29] package/qt6/qt6base: add support for sql module w/ sqlite Jesse Van Gavere
2022-08-26 12:52 ` [Buildroot] [PATCH v3 21/29] package/qt6/qt6base: add support for gui module Jesse Van Gavere
2022-08-26 12:52 ` [Buildroot] [PATCH v3 22/29] package/qt6/qt6base: add support for gui module fontconfig/harfbuzz Jesse Van Gavere
2022-08-26 12:52 ` [Buildroot] [PATCH v3 23/29] package/qt6/qt6base: Add support for gui module jpeg/png/gif image format Jesse Van Gavere
2022-08-26 12:52 ` [Buildroot] [PATCH v3 24/29] package/qt6/qt6base: add support for gui module widgets/opengl/graphics backends Jesse Van Gavere
2022-08-26 12:52 ` [Buildroot] [PATCH v3 25/29] package/qt6/qt6base: add support for gui module tslib Jesse Van Gavere
2022-08-26 12:52 ` [Buildroot] [PATCH v3 26/29] package/qt6/qt6base: add support for gui module libinput Jesse Van Gavere
2022-08-26 12:52 ` [Buildroot] [PATCH v3 27/29] package/qt6/qt6base: add support for gui module kms Jesse Van Gavere
2022-08-26 12:52 ` [Buildroot] [PATCH v3 28/29] package/qt6/qt6base: add support for gui module printsupport/cups Jesse Van Gavere
2022-08-26 12:52 ` [Buildroot] [PATCH v3 29/29] package/qt6/qt6base: add support for building examples Jesse Van Gavere
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=20220826125252.16782-18-jesseevg@gmail.com \
--to=jesseevg@gmail.com \
--cc=buildroot@buildroot.org \
--cc=thomas.petazzoni@bootlin.com \
/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