diff options
author | zbao <fishbaozi@gmail.com> | 2015-09-26 06:20:53 -0400 |
---|---|---|
committer | Zheng Bao <zheng.bao@amd.com> | 2015-11-20 05:37:20 +0100 |
commit | 2f3fd2640f0630760497f59c6f5b137c1fb39e75 (patch) | |
tree | d6610fa38fdd58021dd28d77385abf5863ff7fac /util/kconfig/confdata.c | |
parent | 37450ff5343ffa3326a3f23a8ae7448d48e14e3c (diff) |
util/kconfig: Set parameter of mkdir to only one for mingw.
The second parameter is to set file permissions for the directory, which
is not needed in mingw.
Change-Id: I88e317f075e8a39f0a280b3dd6e597d119f0f741
Signed-off-by: Zheng Bao <zheng.bao@amd.com>
Signed-off-by: Zheng Bao <fishbaozi@gmail.com>
Reviewed-on: http://review.coreboot.org/11723
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'util/kconfig/confdata.c')
-rw-r--r-- | util/kconfig/confdata.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/util/kconfig/confdata.c b/util/kconfig/confdata.c index a39a716f79..e58246369f 100644 --- a/util/kconfig/confdata.c +++ b/util/kconfig/confdata.c @@ -27,6 +27,10 @@ static int conf_lineno, conf_warnings, conf_unsaved; const char conf_defname[] = "arch/$ARCH/defconfig"; +#ifdef __MINGW32__ +#define mkdir(_n,_p) mkdir((_n)) +#endif + static void conf_warning(const char *fmt, ...) { va_list ap; |