Parse out arm isa targets from dumpmachine
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
This commit is contained in:
parent
b4ab43f12c
commit
2b59e14a00
@ -593,6 +593,15 @@ process_common_toolchain() {
|
|||||||
|
|
||||||
# detect tgt_isa
|
# detect tgt_isa
|
||||||
case "$gcctarget" in
|
case "$gcctarget" in
|
||||||
|
armv6*)
|
||||||
|
tgt_isa=armv6
|
||||||
|
;;
|
||||||
|
armv7*)
|
||||||
|
tgt_isa=armv7
|
||||||
|
;;
|
||||||
|
armv5te*)
|
||||||
|
tgt_isa=armv5te
|
||||||
|
;;
|
||||||
*x86_64*|*amd64*)
|
*x86_64*|*amd64*)
|
||||||
tgt_isa=x86_64
|
tgt_isa=x86_64
|
||||||
;;
|
;;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user