diff options
author | Aymeric Vincent <vincent.aymeric@gmail.com> | 2012-11-30 18:28:02 +0100 |
---|---|---|
committer | Peter Stuge <peter@stuge.se> | 2012-11-30 17:16:45 +0000 |
commit | 1a8223f28b2a459750b6dd9b867f4cec0c14a515 (patch) | |
tree | 00ce40fcd4f20437467a8d297f42fc9fb3d3d8d7 /src/helper | |
parent | 3e81c4b6df68fb11e97bdf25d0412a74698281d0 (diff) | |
download | riscv-openocd-1a8223f28b2a459750b6dd9b867f4cec0c14a515.zip riscv-openocd-1a8223f28b2a459750b6dd9b867f4cec0c14a515.tar.gz riscv-openocd-1a8223f28b2a459750b6dd9b867f4cec0c14a515.tar.bz2 |
Make NetBSD a recognized system
Change-Id: I7fcb540553da7833a8b6a82335a7296539a8f491
Signed-off-by: Aymeric Vincent <vincent.aymeric@gmail.com>
Reviewed-on: http://openocd.zylin.com/998
Reviewed-by: Peter Stuge <peter@stuge.se>
Tested-by: jenkins
Diffstat (limited to 'src/helper')
-rw-r--r-- | src/helper/command.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/helper/command.c b/src/helper/command.c index 046f9d8..bb04fb6 100644 --- a/src/helper/command.c +++ b/src/helper/command.c @@ -1313,6 +1313,8 @@ struct command_context *command_init(const char *startup_tcl, Jim_Interp *interp HostOs = "ecos"; #elif defined(__FreeBSD__) HostOs = "freebsd"; +#elif defined(__NetBSD__) + HostOs = "netbsd"; #elif defined(__OpenBSD__) HostOs = "openbsd"; #else |