[FFmpeg-cvslog] r24614 - trunk/configure

mru subversion
Sat Jul 31 10:51:39 CEST 2010


Author: mru
Date: Sat Jul 31 10:51:39 2010
New Revision: 24614

Log:
configure: set subarch for ARM

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Sat Jul 31 01:41:12 2010	(r24613)
+++ trunk/configure	Sat Jul 31 10:51:39 2010	(r24614)
@@ -2121,9 +2121,18 @@ elif enabled arm; then
     case $cpu in
         armv*)
             cpuflags="-march=$cpu"
+            subarch=$(echo $cpu | sed 's/[^a-z0-9]//g')
         ;;
         *)
             cpuflags="-mcpu=$cpu"
+            case $cpu in
+                cortex-a*)                               subarch=armv7a  ;;
+                cortex-r*)                               subarch=armv7r  ;;
+                cortex-m*)                               subarch=armv7m  ;;
+                arm11*)                                  subarch=armv6   ;;
+                arm[79]*e*|arm9[24]6*|arm96*|arm102[26]) subarch=armv5te ;;
+                armv4*|arm7*|arm9[24]*)                  subarch=armv4   ;;
+            esac
         ;;
     esac
 



More information about the ffmpeg-cvslog mailing list