Skip to contentSkip to conversation

qt5base: use ccache if enabled

PATCH New Fatih Aşıcı 2 participants 2 messages Nov 29, 2013

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 qt5base: use ccache if enabled

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

---
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(-)
package/qt5/qt5base/qt5base.mk +1 -1
index febdc9b..d95b186 100644
@@ -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)" \
Signature · 1 line
1.8.4.rc3
#1 lore raw

PATCH v2 1/1 qt5base: use ccache if enabled

Quoted 11 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fatih" == Fatih A??c? <[email protected]> writes:

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

---
Changes v1 -> v2:
- pass ccache path to CROSS_COMPILE instead of setting another device variable (suggested by Peter Korsgaard)

Committed to next, thanks.

Signature · 1 line
Bye, Peter Korsgaard