diff options
author | Jesse Zhang <sen.zhang@windriver.com> | 2013-06-24 09:44:55 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-06-25 17:44:56 +0100 |
commit | f9eb8038df94bae6fc45059ea2422a12b373ed25 (patch) | |
tree | 0e5a5dc77b4e48a18efd6c9469f95d5b2a30c780 /meta/recipes-multimedia/gstreamer/gst-ffmpeg-0.10.13/libav_e5500.patch | |
parent | 44c5b770ab11d0020cd6fff8936215d627d483e9 (diff) | |
download | poky-f9eb8038df94bae6fc45059ea2422a12b373ed25.tar.gz |
gst-ffmpeg: fix libav config error for ppc
Pass --cpu to libav config when we're building ppc, or else there are
errors like:
You need a compiler that supports {} in AltiVec vector declarations.
Also patch libav configure to have knowledge of more ppc CPUs.
(From OE-Core rev: a825781fc822f4630bc29906ca1ca79b8fad4836)
Signed-off-by: Jesse Zhang <sen.zhang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/gstreamer/gst-ffmpeg-0.10.13/libav_e5500.patch')
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gst-ffmpeg-0.10.13/libav_e5500.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gst-ffmpeg-0.10.13/libav_e5500.patch b/meta/recipes-multimedia/gstreamer/gst-ffmpeg-0.10.13/libav_e5500.patch new file mode 100644 index 0000000000..d9ea2c29e0 --- /dev/null +++ b/meta/recipes-multimedia/gstreamer/gst-ffmpeg-0.10.13/libav_e5500.patch | |||
@@ -0,0 +1,19 @@ | |||
1 | libav: Add configs for ppc e5500 | ||
2 | |||
3 | Upstream-Status: Pending | ||
4 | |||
5 | Signed-off-by: Jesse Zhang <sen.zhang@windriver.com> | ||
6 | |||
7 | --- gst-ffmpeg-0.10.13/gst-libs/ext/libav/configure 2013-06-20 05:18:36.073104964 -0400 | ||
8 | +++ gst-ffmpeg-0.10.13/gst-libs/ext/libav/configure 2013-06-20 05:18:38.269104150 -0400 | ||
9 | @@ -2222,6 +2222,10 @@ | ||
10 | cpuflags="-mcpu=8540 -mhard-float" | ||
11 | disable altivec | ||
12 | ;; | ||
13 | + e5500) | ||
14 | + cpuflags="-mcpu=e5500 -mhard-float" | ||
15 | + disable altivec | ||
16 | + ;; | ||
17 | esac | ||
18 | |||
19 | elif enabled x86; then | ||