All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v8 1/5] package/qt5/qt5base: enable ccache via configure option
@ 2022-02-15  1:53 James Hilliard
  2022-02-15  1:53 ` [Buildroot] [PATCH v8 2/5] package/qt5/qt5webengine-chromium-catapult: new package James Hilliard
                   ` (5 more replies)
  0 siblings, 6 replies; 21+ messages in thread
From: James Hilliard @ 2022-02-15  1:53 UTC (permalink / raw)
  To: buildroot
  Cc: James Hilliard, Peter Seiderer, Julien Corjon, Thomas Petazzoni,
	Gaël Portay

This should be cleaner than editing mkspecs/common/g++-base.conf.

This should be more reliable with qt5webengine gn build system.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
Changes v6 -> v7:
  - remove QT5BASE_CONFIGURE_HOSTCC variable
---
 package/qt5/qt5base/qt5base.mk | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/package/qt5/qt5base/qt5base.mk b/package/qt5/qt5base/qt5base.mk
index ef38d03253..cce92db81b 100644
--- a/package/qt5/qt5base/qt5base.mk
+++ b/package/qt5/qt5base/qt5base.mk
@@ -297,10 +297,9 @@ endef
 endif
 
 # This allows to use ccache when available
-define QT5BASE_CONFIGURE_HOSTCC
-	$(SED) 's,^QMAKE_CC\s*=.*,QMAKE_CC = $(HOSTCC),' $(@D)/mkspecs/common/g++-base.conf
-	$(SED) 's,^QMAKE_CXX\s*=.*,QMAKE_CXX = $(HOSTCXX),' $(@D)/mkspecs/common/g++-base.conf
-endef
+ifeq ($(BR2_CCACHE),y)
+QT5BASE_CONFIGURE_OPTS += -ccache
+endif
 
 # Must be last so can override all options set by Buildroot
 QT5BASE_CONFIGURE_OPTS += $(call qstrip,$(BR2_PACKAGE_QT5BASE_CUSTOM_CONF_OPTS))
@@ -316,7 +315,6 @@ define QT5BASE_CONFIGURE_CMDS
 	touch $(QT5BASE_ARCH_CONFIG_FILE)
 	$(QT5BASE_CONFIGURE_ARCH_CONFIG_LIBATOMIC)
 	$(QT5BASE_CONFIGURE_ARCH_CONFIG_LIBEXECINFO)
-	$(QT5BASE_CONFIGURE_HOSTCC)
 	(cd $(@D); \
 		$(TARGET_MAKE_ENV) \
 		PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \
-- 
2.25.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2022-08-21 20:18 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-15  1:53 [Buildroot] [PATCH v8 1/5] package/qt5/qt5base: enable ccache via configure option James Hilliard
2022-02-15  1:53 ` [Buildroot] [PATCH v8 2/5] package/qt5/qt5webengine-chromium-catapult: new package James Hilliard
2022-05-17 19:53   ` Peter Korsgaard
2022-06-17 21:16     ` Peter Korsgaard
2022-02-15  1:53 ` [Buildroot] [PATCH v8 3/5] package/qt5/qt5webengine-chromium: " James Hilliard
2022-05-17 19:54   ` Peter Korsgaard
2022-06-17 21:16     ` Peter Korsgaard
2022-02-15  1:53 ` [Buildroot] [PATCH v8 4/5] package/qt5/qt5base: disable broken qmake sysrootify James Hilliard
2022-07-27 20:31   ` Thomas Petazzoni via buildroot
2022-08-02 22:44     ` James Hilliard
2022-08-21 20:18       ` Yann E. MORIN
2022-02-15  1:53 ` [Buildroot] [PATCH v8 5/5] package/qt5/qt5webengine: bump to version 5.15.8 James Hilliard
2022-05-17  7:35   ` Peter Korsgaard
2022-05-17  9:27     ` James Hilliard
2022-05-17 15:46       ` Peter Korsgaard
2022-05-17 19:40         ` James Hilliard
2022-05-17 19:53           ` Peter Korsgaard
2022-05-18  2:19             ` James Hilliard
2022-05-17 19:55   ` Peter Korsgaard
2022-05-16 21:02 ` [Buildroot] [PATCH v8 1/5] package/qt5/qt5base: enable ccache via configure option Peter Korsgaard
2022-05-16 21:29 ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.