Linux kconfig has its own implementation of KCONFIG_WERROR now, so use that. This reduces our patch count by 2. Change-Id: I4f5f1f552e96f8ef7a4c5c0ab2ab7e2b6d798ceb Signed-off-by: Patrick Georgi <patrick@georgi.software> Reviewed-on: https://review.coreboot.org/c/coreboot/+/81223 Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
		
			
				
	
	
		
			29 lines
		
	
	
		
			776 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			776 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
From d470f1069744c3e6ef2e928217c1a4a23a87efa2 Mon Sep 17 00:00:00 2001
 | 
						|
From: zbao <fishbaozi@gmail.com>
 | 
						|
Date: Sat, 26 Sep 2015 06:20:53 -0400
 | 
						|
Subject: [PATCH] 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.
 | 
						|
 | 
						|
Signed-off-by: Zheng Bao <fishbaozi@gmail.com>
 | 
						|
---
 | 
						|
 util/kconfig/confdata.c | 4 ++++
 | 
						|
 1 file changed, 4 insertions(+)
 | 
						|
 | 
						|
Index: kconfig/confdata.c
 | 
						|
===================================================================
 | 
						|
--- kconfig.orig/confdata.c
 | 
						|
+++ kconfig/confdata.c
 | 
						|
@@ -162,6 +162,10 @@ bool conf_errors(void)
 | 
						|
 	return false;
 | 
						|
 }
 | 
						|
 
 | 
						|
+#ifdef __MINGW32__
 | 
						|
+#define mkdir(_n,_p) mkdir((_n))
 | 
						|
+#endif
 | 
						|
+
 | 
						|
 static void conf_warning(const char *fmt, ...)
 | 
						|
 {
 | 
						|
 	va_list ap;
 |