summaryrefslogtreecommitdiff
path: root/util/kconfig/confdata.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/kconfig/confdata.c')
-rw-r--r--util/kconfig/confdata.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/util/kconfig/confdata.c b/util/kconfig/confdata.c
index 3da9e8b38d..1300ab674f 100644
--- a/util/kconfig/confdata.c
+++ b/util/kconfig/confdata.c
@@ -1035,6 +1035,11 @@ static int conf_touch_deps(void)
struct symbol *sym;
int res, i;
+ /*
+ * Upstream Kconfig sets depfile_path based on the directory
+ * prefix of the autoconfig path, but coreboot overrides this
+ * using the KCONFIG_SPLITCONFIG environment variable
+ */
strcpy(depfile_path, conf_get_autobase_name());
depfile_prefix_len = strlen(depfile_path);