projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sunxi: Use a common CONFIG_SYS_PROMPT
[oweals/u-boot.git]
/
scripts
/
kconfig
/
confdata.c
diff --git
a/scripts/kconfig/confdata.c
b/scripts/kconfig/confdata.c
index f88d90f20228e8783b5ca39accc436140af7b3ff..ae6ce669e17a7864bb9c858a1068fd64cb2ca39b 100644
(file)
--- a/
scripts/kconfig/confdata.c
+++ b/
scripts/kconfig/confdata.c
@@
-951,6
+951,14
@@
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");