Message ID | 20220826064758.3968647-5-jesseevg@gmail.com |
---|---|
State | Changes Requested |
Headers | show |
Series | [v2,01/29] package/qt6/qt6base: Add qt6base hash file | expand |
On Fri, 26 Aug 2022 08:47:33 +0200 Jesse Van Gavere <jesseevg@gmail.com> wrote: > --- > package/qt6/qt6base/Config.in | 5 +++++ > package/qt6/qt6base/qt6base.mk | 6 ++++++ > 2 files changed, 11 insertions(+) > > diff --git a/package/qt6/qt6base/Config.in b/package/qt6/qt6base/Config.in > index 68bca728e2..50cdb52761 100644 > --- a/package/qt6/qt6base/Config.in > +++ b/package/qt6/qt6base/Config.in > @@ -22,4 +22,9 @@ config BR2_PACKAGE_QT6BASE_NETWORK > help > This options enables the Qt6Network library. > > +config BR2_PACKAGE_QT6BASE_CONCURRENT Please sort options alphabetically, i.e BR2_PACKAGE_QT6BASE_CONCURRENT should be before BR2_PACKAGE_QT6BASE_NETWORK. Thanks! Thomas
diff --git a/package/qt6/qt6base/Config.in b/package/qt6/qt6base/Config.in index 68bca728e2..50cdb52761 100644 --- a/package/qt6/qt6base/Config.in +++ b/package/qt6/qt6base/Config.in @@ -22,4 +22,9 @@ config BR2_PACKAGE_QT6BASE_NETWORK help This options enables the Qt6Network library. +config BR2_PACKAGE_QT6BASE_CONCURRENT + bool "concurrent module" + help + This options enables the Qt6Concurrent library. + endif diff --git a/package/qt6/qt6base/qt6base.mk b/package/qt6/qt6base/qt6base.mk index b4b6450bf1..302aecab31 100644 --- a/package/qt6/qt6base/qt6base.mk +++ b/package/qt6/qt6base/qt6base.mk @@ -83,5 +83,11 @@ else QT6BASE_CONF_OPTS += -DFEATURE_network=OFF endif +ifeq ($(BR2_PACKAGE_QT6BASE_CONCURRENT),y) +QT6BASE_CONF_OPTS += -DFEATURE_concurrent=ON +else +QT6BASE_CONF_OPTS += -DFEATURE_concurrent=OFF +endif + $(eval $(cmake-package)) $(eval $(host-cmake-package))