From: Anthony PERARD <[email protected]>

deps_config is the list of all Kconfig files, we need to say that they
are in the source tree, or make isn't going to find them without
VPATH and will try to rebuild 'syncconfig' over and over again.

Signed-off-by: Anthony PERARD <[email protected]>
---
 xen/tools/kconfig/confdata.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/xen/tools/kconfig/confdata.c b/xen/tools/kconfig/confdata.c
index a69250c91355..4f9139d055be 100644
--- a/xen/tools/kconfig/confdata.c
+++ b/xen/tools/kconfig/confdata.c
@@ -971,6 +971,7 @@ static int conf_write_dep(const char *name)
                else
                        fprintf(out, "\t%s\n", file->name);
        }
+       fprintf(out, "deps_config := $(addprefix $(srctree)/, 
$(deps_config))\n");
        fprintf(out, "\n%s: \\\n"
                     "\t$(deps_config)\n\n", conf_get_autoconfig_name());
 
-- 
Anthony PERARD


Reply via email to