From: Aymeric Vincent Date: Fri, 30 Nov 2012 17:28:02 +0000 (+0100) Subject: Make NetBSD a recognized system X-Git-Tag: v0.7.0-rc1~147 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1a8223f28b2a459750b6dd9b867f4cec0c14a515;p=openocd Make NetBSD a recognized system Change-Id: I7fcb540553da7833a8b6a82335a7296539a8f491 Signed-off-by: Aymeric Vincent Reviewed-on: http://openocd.zylin.com/998 Reviewed-by: Peter Stuge Tested-by: jenkins --- diff --git a/src/helper/command.c b/src/helper/command.c index 046f9d8a..bb04fb6a 100644 --- a/src/helper/command.c +++ b/src/helper/command.c @@ -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