From: Wim Lewis Date: Sun, 25 Mar 2012 01:06:12 +0000 (-0700) Subject: Add value "openbsd" for ocd_HOSTOS. X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=d40cb56d494d08bbb9a0642c73b965466ee6e0e8;hp=d1a6dfbb8765bf1454ca079473e41b6ce10e7381;p=fw%2Fopenocd 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 --- diff --git a/src/helper/command.c b/src/helper/command.c index fb1a709a5..ef0afa2b5 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";