Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2] qt5base: use ccache if enabled
@ 2013-11-29  8:47 Fatih Aşıcı
  2013-11-29  9:10 ` Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: Fatih Aşıcı @ 2013-11-29  8:47 UTC (permalink / raw)
  To: buildroot

For now, it doesn't use ccache when compiling host tools (e.g. qmake).
It seems the fix is not trivial.

Signed-off-by: Fatih A??c? <fatih.asici@gmail.com>

---
Changes v1 -> v2:
  - pass ccache path to CROSS_COMPILE instead of setting another device
    variable (suggested by Peter Korsgaard)
---
 package/qt5/qt5base/qt5base.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/qt5/qt5base/qt5base.mk b/package/qt5/qt5base/qt5base.mk
index febdc9b..d95b186 100644
--- a/package/qt5/qt5base/qt5base.mk
+++ b/package/qt5/qt5base/qt5base.mk
@@ -167,7 +167,7 @@ define QT5BASE_CONFIGURE_CMDS
 		-no-rpath \
 		-nomake examples -nomake tests \
 		-device buildroot \
-		-device-option CROSS_COMPILE="$(TARGET_CROSS)" \
+		-device-option CROSS_COMPILE="$(CCACHE) $(TARGET_CROSS)" \
 		-device-option BUILDROOT_COMPILER_CFLAGS="$(TARGET_CFLAGS)" \
 		-device-option BUILDROOT_COMPILER_CXXFLAGS="$(TARGET_CXXFLAGS)" \
 		-device-option EGLFS_PLATFORM_HOOKS_SOURCES="$(QT5BASE_EGLFS_PLATFORM_HOOKS_SOURCES)" \
-- 
1.8.4.rc3

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

end of thread, other threads:[~2013-11-29  9:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-29  8:47 [Buildroot] [PATCH v2] qt5base: use ccache if enabled Fatih Aşıcı
2013-11-29  9:10 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox