diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-04-30 10:07:39 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-04-30 10:07:39 +0000 |
commit | c7bbd9ac71a7f619074c5dc591c9fb2b20e261f7 (patch) | |
tree | cf21d4d8ceffc67f77e81d9139d9aa7b57b9c9da /src | |
parent | c4d172da7676fa15499a795583fe95b68361088b (diff) | |
download | riscv-openocd-c7bbd9ac71a7f619074c5dc591c9fb2b20e261f7.zip riscv-openocd-c7bbd9ac71a7f619074c5dc591c9fb2b20e261f7.tar.gz riscv-openocd-c7bbd9ac71a7f619074c5dc591c9fb2b20e261f7.tar.bz2 |
list board's as well as target config files.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1581 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src')
-rw-r--r-- | src/ecosboard.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ecosboard.c b/src/ecosboard.c index 859d045..0784c55 100644 --- a/src/ecosboard.c +++ b/src/ecosboard.c @@ -982,6 +982,9 @@ int main(int argc, char *argv[]) char *dirname=alloc_printf("%s/target", zylin_config_dir); mkdir(dirname, 0777); free(dirname); + dirname=alloc_printf("%s/board", zylin_config_dir); + mkdir(dirname, 0777); + free(dirname); dirname=alloc_printf("%s/event", zylin_config_dir); mkdir(dirname, 0777); free(dirname); |