]> git.sur5r.net Git - u-boot/commitdiff
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)
committerTom Rini <trini@konsulko.com>
Mon, 2 Mar 2015 13:48:14 +0000 (08:48 -0500)
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 ae6ce669e17a7864bb9c858a1068fd64cb2ca39b..f88d90f20228e8783b5ca39accc436140af7b3ff 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");