]> granicus.if.org Git - libvpx/commitdiff
Parse out arm isa targets from dumpmachine
authorMike Frysinger <vapier@chromium.org>
Wed, 15 Aug 2012 15:55:31 +0000 (11:55 -0400)
committerJohann <johannkoenig@google.com>
Wed, 15 Aug 2012 16:14:28 +0000 (09:14 -0700)
The current parsing logic of the dumpmachine tuple lacks any arm
cases which means tgt_isa never gets set, so for all arm targets,
we get detected as generic-gnu.  Add some basic arm checks here
so the automatic detection logic works.

Change-Id: Ie5e98142876025c6708604236bc519c0bdb09319

build/make/configure.sh

index 26eb8648f00c05ad2ea357e8c78174e3c808e24a..eeb959a29fd3331aa12b14d060747c989fcf4483 100755 (executable)
@@ -593,6 +593,15 @@ process_common_toolchain() {
 
         # detect tgt_isa
         case "$gcctarget" in
+            armv6*)
+                tgt_isa=armv6
+                ;;
+            armv7*)
+                tgt_isa=armv7
+                ;;
+            armv5te*)
+                tgt_isa=armv5te
+                ;;
             *x86_64*|*amd64*)
                 tgt_isa=x86_64
                 ;;