mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-06 21:25:03 -05:00
configure: Revamp MIPS architecture version+revision detection
This allows us to easily distinguish between mips32 and mips32r2 (Works at least as far back as gcc 4.9) Change-Id: I2bcba194fd9cbeedf76cea739252271908bf73d0
This commit is contained in:
parent
5e5b434ce8
commit
6c6bdbf60e
3 changed files with 7 additions and 3 deletions
|
|
@ -1,4 +1,4 @@
|
|||
#if CPU_MIPS == 32
|
||||
#if (CPU_MIPS == 32) || (CPU_MIPS == 32r2)
|
||||
#include "thread-mips32.c"
|
||||
#else
|
||||
#error Missing thread impl
|
||||
|
|
|
|||
|
|
@ -729,7 +729,7 @@ Lyre prototype 1 */
|
|||
#endif
|
||||
|
||||
#if ARCH == ARCH_MIPS
|
||||
#define CPU_MIPS ARCH_VERSION /* 32, 64 */
|
||||
#define CPU_MIPS ARCH_VERSION /* 32, 32r2, 64 */
|
||||
#endif
|
||||
|
||||
#endif /*__PCTOOL__*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue