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>
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");