refactor: fix release building for aarch64 and arm

Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
2025-01-11 07:11:28 +02:00
parent 75c8dbd31b
commit 3af04bce80
16 changed files with 40 additions and 10 deletions

View File

@ -69,6 +69,8 @@ void cmd_top(const char *)
Thrd->ID, Thrd->Name, TaskStateStrings[Thrd->State.load()],
Thrd->Info.Priority, TO_KiB(Thrd->GetSize()),
Thrd->Info.UserTime + Thrd->Info.KernelTime);
#else
UNUSED(Thrd);
#endif
}
}

View File

@ -48,6 +48,9 @@ void cmd_uptime(const char *)
printf("%lld days, %lld hours, %lld minutes, %lld %s\n",
Days, Hours, Minutes, Seconds,
Seconds == 1 ? "second" : "seconds");
#else
#warning "not implemented"
UNUSED(Days);
#endif
}
else