Browse Source

fix compile for mips64

Waldemar Brodkorb 15 years ago
parent
commit
5474d03f63
2 changed files with 14 additions and 1 deletions
  1. 3 1
      package/mplayer/Makefile
  2. 11 0
      package/mplayer/patches/patch-configure

+ 3 - 1
package/mplayer/Makefile

@@ -17,7 +17,7 @@ PKG_BUILDDEP+=		libX11 libXv libpng libXext
 PKG_URL:=		http://www.mplayerhq.hu
 PKG_SITES:=		http://openadk.org/distfiles/
 
-PKG_TARGET_DEPENDS:=	alix1c x86_qemu x86_64_qemu shuttle
+PKG_TARGET_DEPENDS:=	alix1c x86_qemu x86_64_qemu shuttle lemote
 
 include ${TOPDIR}/mk/package.mk
 
@@ -25,6 +25,8 @@ $(eval $(call PKG_template,MPLAYER,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${P
 
 CONFIG_STYLE:=		manual
 
+FAKE_FLAGS+=		INSTALLSTRIP=''
+
 ifeq (${ADK_LINUX_X86_ALIX1C},y)
 CONFIGURE_CPU_OPTS:=	\
 			--disable-ssse3 \

+ 11 - 0
package/mplayer/patches/patch-configure

@@ -0,0 +1,11 @@
+--- mplayer-1.0-29987.orig/configure	2009-12-10 13:18:20.000000000 +0100
++++ mplayer-1.0-29987/configure	2010-03-06 12:52:36.000000000 +0100
+@@ -2266,7 +2266,7 @@ EOF
+     _optimizing="$proc"
+     ;;
+ 
+-  mips)
++  mips|mips64|mipsel|mips64el)
+     _arch='SGI_MIPS'
+     _target_arch='ARCH_SGI_MIPS = yes'
+     iproc='sgi-mips'