Make NetBSD a recognized system
authorAymeric Vincent <vincent.aymeric@gmail.com>
Fri, 30 Nov 2012 17:28:02 +0000 (18:28 +0100)
committerKeith Packard <keithp@keithp.com>
Sat, 13 Apr 2013 06:34:44 +0000 (23:34 -0700)
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