diff options
Diffstat (limited to 'meta/recipes-connectivity/bluez/bluez4-4.82/sbc-thumb.patch')
-rw-r--r-- | meta/recipes-connectivity/bluez/bluez4-4.82/sbc-thumb.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/bluez/bluez4-4.82/sbc-thumb.patch b/meta/recipes-connectivity/bluez/bluez4-4.82/sbc-thumb.patch new file mode 100644 index 0000000000..474423670b --- /dev/null +++ b/meta/recipes-connectivity/bluez/bluez4-4.82/sbc-thumb.patch | |||
@@ -0,0 +1,13 @@ | |||
1 | # Acquired from OpenEmbedded | ||
2 | |||
3 | --- bluez/sbc/sbc_math.h~ 2008-03-05 20:18:03.000000000 +0000 | ||
4 | +++ bluez/sbc/sbc_math.h 2008-10-27 13:39:27.000000000 +0000 | ||
5 | @@ -59,7 +59,7 @@ | ||
6 | |||
7 | #define SBC_FIXED_0(val) { val = 0; } | ||
8 | #define MUL(a, b) ((a) * (b)) | ||
9 | -#ifdef __arm__ | ||
10 | +#if defined(__arm__) && !defined(__thumb__) | ||
11 | #define MULA(a, b, res) ({ \ | ||
12 | int tmp = res; \ | ||
13 | __asm__( \ | ||