libroot/uname: fix uname for arm
Change-Id: I2538c3f00307ccf9c71dd602eae383136f81cd3f Reviewed-on: https://review.haiku-os.org/c/haiku/+/6409 Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
This commit is contained in:
parent
7858871ed4
commit
2b9f3f2962
@ -69,17 +69,7 @@ uname(struct utsname *info)
|
||||
platform = "m68k";
|
||||
break;
|
||||
case B_CPU_ARM:
|
||||
/* The minimal ARM version emulated by QEMU
|
||||
* XXX: use armv6 (raspberry Pi)?
|
||||
* XXX: should we really use B_HOST_IS_LENDIAN here?
|
||||
* XXX: use real cpu version as on Linux?
|
||||
* cf. http://git.qemu.org/?p=qemu.git;a=blob;f=linux-user/uname.c
|
||||
*/
|
||||
#if B_HOST_IS_LENDIAN
|
||||
platform = "armv5tel";
|
||||
#else
|
||||
platform = "armv5teb";
|
||||
#endif
|
||||
platform = "arm";
|
||||
break;
|
||||
case B_CPU_ARM_64:
|
||||
platform = "aarch64";
|
||||
|
Loading…
Reference in New Issue
Block a user