From 2f3fd2640f0630760497f59c6f5b137c1fb39e75 Mon Sep 17 00:00:00 2001 From: zbao Date: Sat, 26 Sep 2015 06:20:53 -0400 Subject: 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 Signed-off-by: Zheng Bao Reviewed-on: http://review.coreboot.org/11723 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- util/kconfig/confdata.c | 4 ++++ 1 file changed, 4 insertions(+) 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; -- cgit v1.2.3