From 8ef2f7c77cfc04805861cd36a28d710afb53dfd7 Mon Sep 17 00:00:00 2001 From: Nicholas Chin Date: Wed, 23 Nov 2022 10:18:32 -0700 Subject: util/kconfig: Add comment explaining difference from upstream coreboot adds a patch on top of upstream Kconfig which allows the generated Kconfig dependency files to be placed in a separate directory than the autoconfig files based on the KCONFIG_SPLITCONFIG variable. Add a comment to explain this difference. Change-Id: Ief38ab84f852ff24f896ec8bbf094aa737a172d9 Signed-off-by: Nicholas Chin Reviewed-on: https://review.coreboot.org/c/coreboot/+/69952 Tested-by: build bot (Jenkins) Reviewed-by: Fred Reitberger Reviewed-by: Paul Menzel Reviewed-by: Angel Pons Reviewed-by: Martin L Roth --- util/kconfig/confdata.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'util/kconfig/confdata.c') 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); -- cgit v1.2.3