From: Fatih Aşıcı Date: Fri, 29 Nov 2013 08:47:49 +0000 (+0200) Subject: qt5base: use ccache if enabled X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cb08d7b05db54eb7b2c52deabbd57c541777a422;p=buildroot.git 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ı Signed-off-by: Peter Korsgaard --- diff --git a/package/qt5/qt5base/qt5base.mk b/package/qt5/qt5base/qt5base.mk index febdc9b71c..d95b186eb6 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)" \