mplayer: enable building on ARM64
authorjpinto <Joao.Pinto@synopsys.com>
Thu, 17 Sep 2015 09:40:27 +0000 (10:40 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 17 Sep 2015 21:28:27 +0000 (23:28 +0200)
Signed-off-by: Joao Pinto <jpinto@synopsys.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/mplayer/0007-mplayer-enable-aarch64.patch [new file with mode: 0644]
package/mplayer/Config.in

diff --git a/package/mplayer/0007-mplayer-enable-aarch64.patch b/package/mplayer/0007-mplayer-enable-aarch64.patch
new file mode 100644 (file)
index 0000000..dc59f5f
--- /dev/null
@@ -0,0 +1,22 @@
+Add support for ARM64 architecture
+
+This patch adds aarch64 as a supported architecture to the configure script.
+
+Signed-off-by: Joao Pinto <jpinto@synopsys.com>
+---
+
+--- b/configure        2015-09-15 17:30:46.187307557 +0100
++++ a/configure        2015-09-15 17:31:11.729307537 +0100
+@@ -2496,6 +2496,10 @@
+     arch='arc'
+     iproc='arc'
+     ;;
++  aarch64)
++    arch='arm64'
++    iproc='arm64'
++    ;;
+   *)
+     echo "The architecture of your CPU ($host_arch) is not supported by this configure script"
+
+
index 79ff3b1cea72e851eeee4117dd78129055e0dd78..7a8b03fbec71ae74c0cf450692571c6821ac9ca4 100644 (file)
@@ -3,7 +3,7 @@ config BR2_PACKAGE_MPLAYER_ARCH_SUPPORTS
        default y
        # Those architectures are not supported by MPlayer
        depends on !(BR2_bfin || BR2_sh2a || BR2_sh4a || BR2_sh4aeb \
-               || BR2_microblaze || BR2_aarch64 || BR2_nios2)
+               || BR2_microblaze || BR2_nios2)
        # Broken support for <ARMv5
        depends on !BR2_ARM_CPU_ARMV4