[MPlayer-dev-eng] [patch] support another CPU architecture
Reimar Döffinger
Reimar.Doeffinger at stud.uni-karlsruhe.de
Tue Dec 11 21:04:54 CET 2007
Hello,
On Tue, Dec 11, 2007 at 12:29:50AM -0800, Dan Nicolaescu wrote:
> The small patch make mplayer work on the Tensilica Xtensa architecture.
> Can someone please check it in?
Try this one instead (I left out/forgot the cpudetect part, that is
trivial), some of your configure stuff is wrong.
Greetings,
Reimar Döffinger
-------------- next part --------------
Index: configure
===================================================================
--- configure (revision 25354)
+++ configure (working copy)
@@ -1263,6 +1264,7 @@
s390x) host_arch=s390x ;;
mips*) host_arch=mips ;;
vax) host_arch=vax ;;
+ xtensa*) host_arch=xtensa ;;
*) host_arch=UNKNOWN ;;
esac
;;
@@ -1627,7 +1630,7 @@
fi
-_arch_all='X86 X86_32 X86_64 IA64 SPARC ARM ARMV4L SH3 POWERPC PPC ALPHA SGI_MIPS PA_RISC S390 S390X VAX BFIN GENERIC'
+_arch_all='X86 X86_32 X86_64 IA64 SPARC ARM ARMV4L SH3 POWERPC PPC ALPHA SGI_MIPS PA_RISC S390 S390X VAX BFIN XTENSA GENERIC'
case "$host_arch" in
i[3-9]86|x86|x86pc|k5|k6|k6-2|k6-3|pentium*|athlon*|i586-i686)
_arch='X86 X86_32'
@@ -2242,6 +2245,16 @@
_optimizing=''
;;
+ xtensa)
+ _arch='XTENSA'
+ _target_arch='ARCH_XTENSA = yes'
+ iproc='xtensa'
+ proc=''
+ _march=''
+ _mcpu=''
+ _optimizing=''
+ ;;
+
generic)
_arch='GENERIC'
_target_arch='ARCH_GENERIC = yes'
More information about the MPlayer-dev-eng
mailing list