git: 9418a626103d - stable/13 - stand: Don't build readtest command on mips

From: Emmanuel Vadot <manu_at_FreeBSD.org>
Date: Thu, 13 Jan 2022 13:39:26 UTC
The branch stable/13 has been updated by manu:

URL: https://cgit.FreeBSD.org/src/commit/?id=9418a626103debaf55a1e839139db85c841f1c0b

commit 9418a626103debaf55a1e839139db85c841f1c0b
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2022-01-13 13:38:24 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2022-01-13 13:38:24 +0000

    stand: Don't build readtest command on mips
    
    MIPS doesn't have getsecs which is used in this command.
    Simply don't include it for this arch.
    
    This is a direct commit to stable/13.
    
    Sponsored by:   Beckhoff Automation GmbH & Co. KG
---
 stand/common/commands.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/stand/common/commands.c b/stand/common/commands.c
index 0d21ed44c681..e56d37c497b1 100644
--- a/stand/common/commands.c
+++ b/stand/common/commands.c
@@ -546,6 +546,7 @@ command_lsdev(int argc, char *argv[])
 	return (CMD_OK);
 }
 
+#ifndef __mips__
 static int
 command_readtest(int argc, char *argv[])
 {
@@ -576,3 +577,4 @@ command_readtest(int argc, char *argv[])
 }
 
 COMMAND_SET(readtest, "readtest", "Time a file read", command_readtest);
+#endif