Make NetBSD a recognized system 98/998/2
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 046f9d8..bb04fb6 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