From d40cb56d494d08bbb9a0642c73b965466ee6e0e8 Mon Sep 17 00:00:00 2001 From: Wim Lewis Date: Sat, 24 Mar 2012 18:06:12 -0700 Subject: [PATCH] Add value "openbsd" for ocd_HOSTOS. Change-Id: I9b0dd87d85c0792730f507176001d39c44da7117 Signed-off-by: Wim Lewis Reviewed-on: http://openocd.zylin.com/547 Tested-by: jenkins Reviewed-by: Peter Stuge --- src/helper/command.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/helper/command.c b/src/helper/command.c index fb1a709a5d..ef0afa2b56 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"; -- 2.30.2