mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-07 05:35:02 -05:00
configure: Partial revert of 6c6bdbf60e
Turns out I compile-tested stale trees instead of the broken change Net result is just the simpler MIPS revision (32/64/"classic") lookup rather than the sub-revision (eg mips32r2 etc). Change-Id: Ideebe522d29132f00f3769222f3846000b3a89fd
This commit is contained in:
parent
6c6bdbf60e
commit
dada036b10
3 changed files with 6 additions and 6 deletions
8
tools/configure
vendored
8
tools/configure
vendored
|
|
@ -4785,10 +4785,10 @@ if [ -z "$arch" ]; then
|
|||
elif [ -n "$(echo $cpp_defines | grep -w __mips__)" ]; then
|
||||
arch="mips"
|
||||
arch_version="$(echo "$cpp_defines" | grep 'define __mips ' | sed -e 's,.* \([0-9]\+\).*,\1,')"
|
||||
arch_revision="$(echo "$cpp_defines" | grep 'define __mips_isa_rev ' | sed -e 's,.* \([0-9]\+\).*,\1,')"
|
||||
if [ -n "$arch_revision" ] ; then
|
||||
arch_version="${arch_version}r${arch_revision}"
|
||||
fi
|
||||
# arch_revision="$(echo "$cpp_defines" | grep 'define __mips_isa_rev ' | sed -e 's,.* \([0-9]\+\).*,\1,')"
|
||||
# if [ -n "$arch_revision" ] ; then
|
||||
# arch_version="${arch_version}r${arch_revision}"
|
||||
# fi
|
||||
elif [ -n "$(echo $cpp_defines | grep -w __i386__)" ]; then
|
||||
arch="x86"
|
||||
elif [ -n "$(echo $cpp_defines | grep -w __x86_64__)" ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue