[U-Boot] [PATCH] kconfig: remove unneeded U-Boot extension code

Masahiro Yamada yamada.m at jp.panasonic.com
Fri Feb 27 16:45:26 CET 2015


This code was introduced to support the multiple .config
configuration in U-Boot.  We do not need it any more.

Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>
---

 scripts/kconfig/confdata.c | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/scripts/kconfig/confdata.c b/scripts/kconfig/confdata.c
index ae6ce66..f88d90f 100644
--- a/scripts/kconfig/confdata.c
+++ b/scripts/kconfig/confdata.c
@@ -951,14 +951,6 @@ int conf_write_autoconf(void)
 	FILE *out, *tristate, *out_h;
 	int i;
 
-	/*
-	 * Added for U-Boot SPL/TPL
-	 */
-	name = getenv("KCONFIG_OBJDIR");
-	if (name && name[0])
-		if (chdir(name))
-			return 1;
-
 	sym_clear_all_valid();
 
 	file_write_dep("include/config/auto.conf.cmd");
-- 
1.9.1



More information about the U-Boot mailing list