]> git.sur5r.net Git - openocd/commitdiff
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 fb1a709a5dee6f65c4f326e105a6d561a0bdf70e..ef0afa2b56bca06e5b88e13ce4c5ca2c97b4ec2b 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";