Message ID | 1385714869-10115-1-git-send-email-fatih.asici@gmail.com |
---|---|
State | Accepted |
Commit | cb08d7b05db54eb7b2c52deabbd57c541777a422 |
Headers | show |
>>>>> "Fatih" == Fatih Aşıcı <fatih.asici@gmail.com> 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ı <fatih.asici@gmail.com> > --- > Changes v1 -> v2: > - pass ccache path to CROSS_COMPILE instead of setting another device > variable (suggested by Peter Korsgaard) Committed to next, thanks.
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)" \
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(-)