mirror of
git://git.yoctoproject.org/meta-raspberrypi.git
synced 2025-07-05 05:04:45 +02:00
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.
This commit is contained in:
parent
f5ab6d0e02
commit
7dbc0ca110
|
@ -0,0 +1,12 @@
|
|||
diff a/libavcodec/arm/ac3dsp_armv6.S b/libavcodec/arm/ac3dsp_armv6.S
|
||||
--- a/libavcodec/arm/ac3dsp_armv6.S
|
||||
+++ b/libavcodec/arm/ac3dsp_armv6.S
|
||||
@@ -37,7 +37,7 @@ function ff_ac3_bit_alloc_calc_bap_armv6, export=1
|
||||
ldrb r10, [r4], #1
|
||||
1:
|
||||
ldrsh r9, [r0], #2 @ mask[band]
|
||||
- movw r8, #0x1fe0
|
||||
+ ldr r8, =0x1fe0
|
||||
sub r9, r9, r12 @ - snr_offset
|
||||
mov r11, r10
|
||||
ldrb r10, [r4], #1 @ band_start_tab[band++]
|
8
recipes-multimedia/libav/libav_0.7.4.bbappend
Normal file
8
recipes-multimedia/libav/libav_0.7.4.bbappend
Normal file
|
@ -0,0 +1,8 @@
|
|||
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
|
||||
PRINC = "1"
|
||||
|
||||
SRC_URI_append = " file://libavcodec-ac3dsp_armv6-patch-out-armv7.patch"
|
||||
|
||||
EXTRA_OECONF_append_raspberrypi = " \
|
||||
--cpu=arm1176jzf-s --disable-armvfp --disable-neon \
|
||||
"
|
Loading…
Reference in New Issue
Block a user