phoneme-advanced: force ARM mode, otherwise build fails on armv4t
authorMartin Jansa <Martin.Jansa@gmail.com>
Thu, 16 Dec 2010 12:07:00 +0000 (13:07 +0100)
committerMartin Jansa <Martin.Jansa@gmail.com>
Thu, 16 Dec 2010 12:14:21 +0000 (13:14 +0100)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
recipes/phoneme/phoneme-advanced.inc

index b055875..8e7a3f4 100644 (file)
@@ -22,6 +22,12 @@ SECTION  = "interpreters"
 # PhoneME builds currently cannot be parallel
 PARALLEL_MAKE = ""
 
+# with Thumb mode enabled it fails with
+# | /tmp/cc20oI7T.s:11528: Error: selected processor does not support `swp r2,r3,[r8]'
+# or on other host with even better error
+# | /tmp/ccIG8VdD.s:875: Error: selected processor does not support Thumb mode `swp r5,r7,[r4]'
+ARM_INSTRUCTION_SET = "ARM"
+
 S = "${WORKDIR}"
 
 BUILDREV = ${@bb.fatal('BUILDREV is not defined in this phoneme-advanced recipe!')}