Add value "openbsd" for ocd_HOSTOS.
authorWim Lewis <wiml@hhhh.org>
Sun, 25 Mar 2012 01:06:12 +0000 (18:06 -0700)
committerPeter Stuge <peter@stuge.se>
Sat, 31 Mar 2012 04:02:24 +0000 (04:02 +0000)
Change-Id: I9b0dd87d85c0792730f507176001d39c44da7117
Signed-off-by: Wim Lewis <wiml@hhhh.org>
Reviewed-on: http://openocd.zylin.com/547
Tested-by: jenkins
Reviewed-by: Peter Stuge <peter@stuge.se>
src/helper/command.c

index fb1a709..ef0afa2 100644 (file)
@@ -1311,6 +1311,8 @@ struct command_context *command_init(const char *startup_tcl, Jim_Interp *interp
        HostOs = "ecos";
 #elif defined(__FreeBSD__)
        HostOs = "freebsd";
+#elif defined(__OpenBSD__)
+       HostOs = "openbsd";
 #else
 #warning "Unrecognized host OS..."
        HostOs = "other";