From 1a8223f28b2a459750b6dd9b867f4cec0c14a515 Mon Sep 17 00:00:00 2001 From: Aymeric Vincent Date: Fri, 30 Nov 2012 18:28:02 +0100 Subject: [PATCH] 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 --- src/helper/command.c | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.39.5