]> git.kernelconcepts.de Git - karo-tx-uboot.git/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)
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 ae6ce669e17a7864bb9c858a1068fd64cb2ca39b..f88d90f20228e8783b5ca39accc436140af7b3ff 100644 (file)
@@ -951,14 +951,6 @@ int conf_write_autoconf(void)
        FILE *out, *tristate, *out_h;
        int i;
 
        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");
        sym_clear_all_valid();
 
        file_write_dep("include/config/auto.conf.cmd");