kconfig: remove unneeded U-Boot extension code
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Fri, 27 Feb 2015 15:45:26 +0000 (00:45 +0900)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 12:10:25 +0000 (14:10 +0200)
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@jp.panasonic.com>
scripts/kconfig/confdata.c

index ae6ce66..f88d90f 100644 (file)
@@ -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");