* [Buildroot] [PATCH v1] package/qt6/qt6svg: use the CMAKE_NINJA flag
@ 2023-08-08 7:02 Thomas Devoogdt
2023-08-08 7:15 ` Thomas Devoogdt
2023-08-08 7:45 ` Thomas Petazzoni via buildroot
0 siblings, 2 replies; 3+ messages in thread
From: Thomas Devoogdt @ 2023-08-08 7:02 UTC (permalink / raw)
To: buildroot
Cc: Thomas Devoogdt, Jesse Van Gavere, Yann E . MORIN,
Thomas Petazzoni
Use the newly introduce backend option (4cf79d9b71ff5cf2aede3f21e09ade7c7ac59606)
to specify what cmake backend to use, instead of special-coding it's use.
Signed-off-by: Thomas Devoogdt <thomas@devoogdt.com>
---
Same change as for qt6base, qt6serialbus, and qt6serialport.
Missed that one because I searched for --build on an older clone.
---
package/qt6/qt6svg/qt6svg.mk | 16 ++--------------
1 file changed, 2 insertions(+), 14 deletions(-)
diff --git a/package/qt6/qt6svg/qt6svg.mk b/package/qt6/qt6svg/qt6svg.mk
index be0addbd0d..25e87dd208 100644
--- a/package/qt6/qt6svg/qt6svg.mk
+++ b/package/qt6/qt6svg/qt6svg.mk
@@ -10,6 +10,8 @@ QT6SVG_SOURCE = qtsvg-$(QT6_SOURCE_TARBALL_PREFIX)-$(QT6SVG_VERSION).tar.xz
QT6SVG_INSTALL_STAGING = YES
QT6SVG_SUPPORTS_IN_SOURCE_BUILD = NO
+QT6SVG_CMAKE_BACKEND = ninja
+
QT6SVG_LICENSE = \
GPL-2.0+ or LGPL-3.0, \
GPL-3.0 with exception (tools), \
@@ -25,7 +27,6 @@ QT6SVG_LICENSE_FILES = \
LICENSES/Qt-GPL-exception-1.0.txt
QT6SVG_CONF_OPTS = \
- -GNinja \
-DQT_HOST_PATH=$(HOST_DIR) \
-DBUILD_WITH_PCH=OFF \
-DQT_BUILD_EXAMPLES=OFF \
@@ -33,19 +34,6 @@ QT6SVG_CONF_OPTS = \
QT6SVG_DEPENDENCIES = \
host-pkgconf \
- host-ninja \
qt6base
-define QT6SVG_BUILD_CMDS
- $(TARGET_MAKE_ENV) $(BR2_CMAKE) --build $(QT6SVG_BUILDDIR)
-endef
-
-define QT6SVG_INSTALL_STAGING_CMDS
- $(TARGET_MAKE_ENV) DESTDIR=$(STAGING_DIR) $(BR2_CMAKE) --install $(QT6SVG_BUILDDIR)
-endef
-
-define QT6SVG_INSTALL_TARGET_CMDS
- $(TARGET_MAKE_ENV) DESTDIR=$(TARGET_DIR) $(BR2_CMAKE) --install $(QT6SVG_BUILDDIR)
-endef
-
$(eval $(cmake-package))
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH v1] package/qt6/qt6svg: use the CMAKE_NINJA flag
2023-08-08 7:02 [Buildroot] [PATCH v1] package/qt6/qt6svg: use the CMAKE_NINJA flag Thomas Devoogdt
@ 2023-08-08 7:15 ` Thomas Devoogdt
2023-08-08 7:45 ` Thomas Petazzoni via buildroot
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Devoogdt @ 2023-08-08 7:15 UTC (permalink / raw)
To: Thomas Devoogdt
Cc: Jesse Van Gavere, Yann E . MORIN, Thomas Petazzoni, buildroot
Hi Thomas, Yann, All,
I forgot to add the "next" tag to this e-mail, so please apply it to
the right branch.
Kind regards,
Thomas
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH v1] package/qt6/qt6svg: use the CMAKE_NINJA flag
2023-08-08 7:02 [Buildroot] [PATCH v1] package/qt6/qt6svg: use the CMAKE_NINJA flag Thomas Devoogdt
2023-08-08 7:15 ` Thomas Devoogdt
@ 2023-08-08 7:45 ` Thomas Petazzoni via buildroot
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni via buildroot @ 2023-08-08 7:45 UTC (permalink / raw)
To: Thomas Devoogdt; +Cc: Jesse Van Gavere, Yann E . MORIN, buildroot
On Tue, 8 Aug 2023 09:02:45 +0200
Thomas Devoogdt <thomas@devoogdt.com> wrote:
> Use the newly introduce backend option (4cf79d9b71ff5cf2aede3f21e09ade7c7ac59606)
> to specify what cmake backend to use, instead of special-coding it's use.
>
> Signed-off-by: Thomas Devoogdt <thomas@devoogdt.com>
> ---
> Same change as for qt6base, qt6serialbus, and qt6serialport.
> Missed that one because I searched for --build on an older clone.
> ---
> package/qt6/qt6svg/qt6svg.mk | 16 ++--------------
> 1 file changed, 2 insertions(+), 14 deletions(-)
Applied to next, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-08-08 7:46 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-08 7:02 [Buildroot] [PATCH v1] package/qt6/qt6svg: use the CMAKE_NINJA flag Thomas Devoogdt
2023-08-08 7:15 ` Thomas Devoogdt
2023-08-08 7:45 ` Thomas Petazzoni via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox