summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-25 17:58:33 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-25 17:58:33 +0000
commit8845289943e5b38dfe97098cba455381439967db (patch)
tree4819975f18eb8e3d0c43ce9cff390f1fdbb72fc9 /configure
parentbadde7586229af3cfbce3a1430d7cd11540a9f38 (diff)
downloadmpv-8845289943e5b38dfe97098cba455381439967db.tar.bz2
mpv-8845289943e5b38dfe97098cba455381439967db.tar.xz
Add generic target that allow compiling without any assembler or otherwise
architecture specific code (except endiannes of course). Usage example: ./configure --target=generic-linux git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21237 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure10
1 files changed, 10 insertions, 0 deletions
diff --git a/configure b/configure
index aeecc46b68..1773d63709 100755
--- a/configure
+++ b/configure
@@ -1423,6 +1423,16 @@ EOF
_optimizing=''
;;
+ generic)
+ _def_arch='#define ARCH_GENERIC 1'
+ _target_arch='TARGET_ARCH_GENERIC = yes'
+ iproc=''
+ proc=''
+ _march=''
+ _mcpu=''
+ _optimizing=''
+ ;;
+
*)
echo "The architecture of your CPU ($host_arch) is not supported by this configure script"
echo "It seems nobody has ported MPlayer to your OS or CPU type yet."