qt5base: use ccache if enabled
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.
Signed-off-by Fatih A??c? <[email protected]>
---
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
@@ -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
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.
Signed-off-by Fatih A??c? <[email protected]>---
Changes v1 -> v2:
- pass ccache path toCROSS_COMPILEinstead of setting another device variable (suggested by Peter Korsgaard)
Committed to next, thanks.
Signature · 1 line
Bye, Peter Korsgaard