Skip to contentSkip to conversation

Added extra patch to qt5base package for fixing ccache related compile error with new QT 5.5

PATCH New Jaap Crezee 2 participants 2 messages Jul 26, 2015 – Jul 28, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Added extra patch to qt5base package for fixing ccache related compile error with new QT 5.5

---
 package/qt5/qt5base/0008-ccache_buildroot_fix.patch | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 package/qt5/qt5base/0008-ccache_buildroot_fix.patch
package/qt5/qt5base/0008-ccache_buildroot_fix.patch new file +16 -0
new file mode 100644
index 0000000..62aa57b
@@ -0,0 +1,16 @@
+Author: Jaap Crezee <[email protected]>
+---
+diff --git a/mkspecs/features/device_config.prf b/mkspecs/features/device_config.prf
+index cd3a0cf..674b3dd 100644
+--- a/mkspecs/features/device_config.prf
++++ b/mkspecs/features/device_config.prf
+@@ -35,6 +35,9 @@ defineTest(deviceSanityCheckCompiler) {
+             return()
+     }
+ 
++    # Last resort, check if we can still execute it (for example in Buildroot/Crosscompile...)
++    system("which $$QMAKE_CXX > /dev/null"):return()
++
+     # QMAKE_CXX does not point to a compiler.
+     error("Compiler $$QMAKE_CXX not found. Check the value of CROSS_COMPILE -device-option")
+ }
Signature · 1 line
2.4.6
#1 lore raw

PATCH 1/1 Added extra patch to qt5base package for fixing ccache related compile error with new QT 5.5

Dear Jaap Crezee,

Quoted 2 lines · Jaap Crezee

An empty commit log is not acceptable. Also the commit title is too long, and should follow the form:

qt5base: <description>

package/qt5/qt5base/0008-ccache_buildroot_fix.patch line 1

Quoted 7 lines
package/qt5/qt5base/0008-ccache_buildroot_fix.patch new file +1 -0
new file mode 100644
index 0000000..62aa57b
@@ -0,0 +1,16 @@
+Author: Jaap Crezee <[email protected]>

All patches should have a description + Signed-off-by (and not Author:). See the Buildroot manual.

Also, did you file a bug in Qt's bug tracker for this issue?

Thanks,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com