aboutsummaryrefslogtreecommitdiff
path: root/src/helper
diff options
context:
space:
mode:
authorWim Lewis <wiml@hhhh.org>2012-03-24 18:06:12 -0700
committerPeter Stuge <peter@stuge.se>2012-03-31 04:02:24 +0000
commitd40cb56d494d08bbb9a0642c73b965466ee6e0e8 (patch)
tree8b3f04786628fac9343651773258bf70aa9e7138 /src/helper
parentd1a6dfbb8765bf1454ca079473e41b6ce10e7381 (diff)
downloadriscv-openocd-d40cb56d494d08bbb9a0642c73b965466ee6e0e8.zip
riscv-openocd-d40cb56d494d08bbb9a0642c73b965466ee6e0e8.tar.gz
riscv-openocd-d40cb56d494d08bbb9a0642c73b965466ee6e0e8.tar.bz2
Add value "openbsd" for ocd_HOSTOS.
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>
Diffstat (limited to 'src/helper')
-rw-r--r--src/helper/command.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/helper/command.c b/src/helper/command.c
index fb1a709..ef0afa2 100644
--- a/src/helper/command.c
+++ b/src/helper/command.c
@@ -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";