summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid-John Willis <John.Willis@Distant-earth.com>2012-04-12 22:19:52 +0100
committerDavid-John Willis <John.Willis@Distant-earth.com>2012-04-12 22:19:52 +0100
commit7dbc0ca1103d3ce445947979272038502ccf6cb0 (patch)
tree9e7fbff2b4b83349a7d1fbfb4f952abd5a1a9015
parentf5ab6d0e02e4ba4e33821beff0a5e88dfbe4bb19 (diff)
downloadmeta-raspberrypi-7dbc0ca1103d3ce445947979272038502ccf6cb0.tar.gz
libav_0.7.4: Add bbappend to fix the build on ARMv6 for now.
* Having to disable armvfp feels VERY wrong so this is not going upstream until I work out why.
-rw-r--r--recipes-multimedia/libav/libav/libavcodec-ac3dsp_armv6-patch-out-armv7.patch12
-rw-r--r--recipes-multimedia/libav/libav_0.7.4.bbappend8
2 files changed, 20 insertions, 0 deletions
diff --git a/recipes-multimedia/libav/libav/libavcodec-ac3dsp_armv6-patch-out-armv7.patch b/recipes-multimedia/libav/libav/libavcodec-ac3dsp_armv6-patch-out-armv7.patch
new file mode 100644
index 0000000..6efa559
--- /dev/null
+++ b/recipes-multimedia/libav/libav/libavcodec-ac3dsp_armv6-patch-out-armv7.patch
@@ -0,0 +1,12 @@
1diff a/libavcodec/arm/ac3dsp_armv6.S b/libavcodec/arm/ac3dsp_armv6.S
2--- a/libavcodec/arm/ac3dsp_armv6.S
3+++ b/libavcodec/arm/ac3dsp_armv6.S
4@@ -37,7 +37,7 @@ function ff_ac3_bit_alloc_calc_bap_armv6, export=1
5 ldrb r10, [r4], #1
6 1:
7 ldrsh r9, [r0], #2 @ mask[band]
8- movw r8, #0x1fe0
9+ ldr r8, =0x1fe0
10 sub r9, r9, r12 @ - snr_offset
11 mov r11, r10
12 ldrb r10, [r4], #1 @ band_start_tab[band++]
diff --git a/recipes-multimedia/libav/libav_0.7.4.bbappend b/recipes-multimedia/libav/libav_0.7.4.bbappend
new file mode 100644
index 0000000..ec1edd7
--- /dev/null
+++ b/recipes-multimedia/libav/libav_0.7.4.bbappend
@@ -0,0 +1,8 @@
1FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
2PRINC = "1"
3
4SRC_URI_append = " file://libavcodec-ac3dsp_armv6-patch-out-armv7.patch"
5
6EXTRA_OECONF_append_raspberrypi = " \
7 --cpu=arm1176jzf-s --disable-armvfp --disable-neon \
8"