aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorØyvind Harboe <oyvind.harboe@zylin.com>2009-11-10 08:36:19 +0100
committerØyvind Harboe <oyvind.harboe@zylin.com>2009-11-10 08:36:19 +0100
commit151a270695416824940ca64016b3dcd75d9c75fa (patch)
tree4bd2b6be12d51312eebe26eac2a1800b1f5a3055 /src
parentdb6c2871dd3f106ca8b5dc8828a17f8b729de181 (diff)
downloadriscv-openocd-151a270695416824940ca64016b3dcd75d9c75fa.zip
riscv-openocd-151a270695416824940ca64016b3dcd75d9c75fa.tar.gz
riscv-openocd-151a270695416824940ca64016b3dcd75d9c75fa.tar.bz2
tcl: HostOs now picks up eCos as well during compile time
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src')
-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 d29b6ec..5d69ffb 100644
--- a/src/helper/command.c
+++ b/src/helper/command.c
@@ -770,6 +770,8 @@ command_context_t* command_init()
HostOs = "cygwin";
#elif defined(__MINGW32__)
HostOs = "mingw32";
+#elif defined(__ECOS)
+ HostOs = "ecos";
#else
#warn unrecognized host OS...
HostOs = "other";