Patchwork [1/2] qt4*.bbclass: disable build qt on mips64 with 64 bits userspace

login
register
mail settings
Submitter Kang Kai
Date June 28, 2013, 7:48 a.m.
Message ID <c037877ab9366fab092b29efe28b0371bf6ab503.1372403777.git.kai.kang@windriver.com>
Download mbox | patch
Permalink /patch/52535/
State Accepted
Commit 17890ebd637da0b3bf78804002d8b4f0ace078d2
Headers show

Comments

Kang Kai - June 28, 2013, 7:48 a.m.
Qt/qt-embedded build fails on mips64 with 64 bits userspace. Set
COMPATIBLE_HOST in qt4e.bbclass and qt4x11.bbclass to disable build
qt/qt-embedded and packages which inherit these two classes on mips64
with 64 bits userspace.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
---
 meta/classes/qt4e.bbclass   |    3 +++
 meta/classes/qt4x11.bbclass |    3 +++
 2 files changed, 6 insertions(+), 0 deletions(-)

Patch

diff --git a/meta/classes/qt4e.bbclass b/meta/classes/qt4e.bbclass
index de2a68d..d7f5df8 100644
--- a/meta/classes/qt4e.bbclass
+++ b/meta/classes/qt4e.bbclass
@@ -18,3 +18,6 @@  EXTRA_QMAKEVARS_PRE += " QT_LIBINFIX=${QT_LIBINFIX} "
 
 # Qt4 uses atomic instructions not supported in thumb mode
 ARM_INSTRUCTION_SET = "arm"
+
+# Qt4 could NOT be built on MIPS64 with 64 bits userspace
+COMPATIBLE_HOST_mips64 = "mips64.*-linux-gnun32"
diff --git a/meta/classes/qt4x11.bbclass b/meta/classes/qt4x11.bbclass
index b06e15d..65d196a 100644
--- a/meta/classes/qt4x11.bbclass
+++ b/meta/classes/qt4x11.bbclass
@@ -9,3 +9,6 @@  QT_LIBINFIX = ""
 
 # Qt4 uses atomic instructions not supported in thumb mode
 ARM_INSTRUCTION_SET = "arm"
+
+# Qt4 could NOT be built on MIPS64 with 64 bits userspace
+COMPATIBLE_HOST_mips64 = "mips64.*-linux-gnun32"