浏览代码

mplayer: enable building on ARM64

Signed-off-by: Joao Pinto <jpinto@synopsys.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
jpinto 10 年之前
父节点
当前提交
1fc839e436
共有 2 个文件被更改,包括 23 次插入1 次删除
  1. 22 0
      package/mplayer/0007-mplayer-enable-aarch64.patch
  2. 1 1
      package/mplayer/Config.in

+ 22 - 0
package/mplayer/0007-mplayer-enable-aarch64.patch

@@ -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"
+
+

+ 1 - 1
package/mplayer/Config.in

@@ -3,7 +3,7 @@ config BR2_PACKAGE_MPLAYER_ARCH_SUPPORTS
 	default y
 	default y
 	# Those architectures are not supported by MPlayer
 	# Those architectures are not supported by MPlayer
 	depends on !(BR2_bfin || BR2_sh2a || BR2_sh4a || BR2_sh4aeb \
 	depends on !(BR2_bfin || BR2_sh2a || BR2_sh4a || BR2_sh4aeb \
-		|| BR2_microblaze || BR2_aarch64 || BR2_nios2)
+		|| BR2_microblaze || BR2_nios2)
 	# Broken support for <ARMv5
 	# Broken support for <ARMv5
 	depends on !BR2_ARM_CPU_ARMV4
 	depends on !BR2_ARM_CPU_ARMV4