From: oharboe Date: Thu, 30 Apr 2009 10:07:39 +0000 (+0000) Subject: list board's as well as target config files. X-Git-Tag: v0.2.0~923 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c7bbd9ac71a7f619074c5dc591c9fb2b20e261f7;p=openocd list board's as well as target config files. git-svn-id: svn://svn.berlios.de/openocd/trunk@1581 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- diff --git a/src/ecosboard.c b/src/ecosboard.c index 859d045b..0784c553 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);