qt4[e|x11].bbclass: set ARM_INSTRUCTION_SET to arm
authorMichael 'Mickey' Lauer <mickey@vanille-media.de>
Fri, 27 Feb 2009 19:05:29 +0000 (20:05 +0100)
committerMichael 'Mickey' Lauer <mickey@vanille-media.de>
Fri, 27 Feb 2009 19:05:29 +0000 (20:05 +0100)
classes/qt4e.bbclass
classes/qt4x11.bbclass

index 3fac2bd..3f89fa9 100644 (file)
@@ -3,7 +3,7 @@ inherit qmake2
 
 QT_DIR_NAME = "qtopia"
 #
-# override variables set by qmake-base to compile QtopiaCore apps
+# override variables set by qmake-base to compile Qt/Embedded apps
 #
 export OE_QMAKE_INCDIR_QT = "${STAGING_INCDIR}/qtopia"
 export OE_QMAKE_LIBDIR_QT = "${STAGING_LIBDIR}"
@@ -11,3 +11,7 @@ export OE_QMAKE_LIBS_QT = "qt"
 export OE_QMAKE_LIBS_X11 = ""
 export OE_QMAKE_EXTRA_MODULES = "network"
 EXTRA_QMAKEVARS_PRE += " QT_LIBINFIX=E "
+
+# Qt4 uses atomic instructions not supported in thumb mode
+ARM_INSTRUCTION_SET = "arm"
+
index 76a45c3..923717f 100644 (file)
@@ -1,3 +1,6 @@
 DEPENDS_prepend = "${@["qt4x11 ", ""][(bb.data.getVar('PN', d, 1) == 'qt4-x11-free')]}"
 
 inherit qmake2
+
+# Qt4 uses atomic instructions not supported in thumb mode
+ARM_INSTRUCTION_SET = "arm"