]> git.sur5r.net Git - openocd/commitdiff
Make NetBSD a recognized system
authorAymeric Vincent <vincent.aymeric@gmail.com>
Fri, 30 Nov 2012 17:28:02 +0000 (18:28 +0100)
committerPeter Stuge <peter@stuge.se>
Fri, 30 Nov 2012 17:16:45 +0000 (17:16 +0000)
Change-Id: I7fcb540553da7833a8b6a82335a7296539a8f491
Signed-off-by: Aymeric Vincent <vincent.aymeric@gmail.com>
Reviewed-on: http://openocd.zylin.com/998
Reviewed-by: Peter Stuge <peter@stuge.se>
Tested-by: jenkins
src/helper/command.c

index 046f9d8a3860214e08c82957e61f2753ae15277a..bb04fb6a0708562b4e70b53be6a1620199fe4d36 100644 (file)
@@ -1313,6 +1313,8 @@ struct command_context *command_init(const char *startup_tcl, Jim_Interp *interp
        HostOs = "ecos";
 #elif defined(__FreeBSD__)
        HostOs = "freebsd";
+#elif defined(__NetBSD__)
+       HostOs = "netbsd";
 #elif defined(__OpenBSD__)
        HostOs = "openbsd";
 #else