[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Minios-devel] [UNIKRAFT PATCH v2 1/5] build: save kconfig dependency files in the separate dir
Reviewed-by: Simon Kuenzer <simon.kuenzer@xxxxxxxxx> On 11.06.2018 15:59, Yuri Volchkov wrote: The *conf utilities are generating a bunch of empty *.h files, reflecting the configuration menu symbols. The corresponding file is touched if symbol has been changed. This is used for making smart decisions which files require recompilation. So far they have been put in the build/kconfig folder, with other stuff. Let's save them in the separate dir, to make file structure a bit more beautiful. Signed-off-by: Yuri Volchkov <yuri.volchkov@xxxxxxxxx> --- support/kconfig/confdata.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/support/kconfig/confdata.c b/support/kconfig/confdata.c index 2371fa8..4d8c9ac 100644 --- a/support/kconfig/confdata.c +++ b/support/kconfig/confdata.c @@ -857,7 +857,14 @@ static int conf_split_config(void) res = 1; goto err; } - if (chdir(dir)) { + + snprintf(path, sizeof(path), "%s/%s", dir, "depinclude"); + if (stat(path, &sb) && mkdir(path, 0755)) { + res = 1; + goto err; + } + + if (chdir(path)) { res = 1; goto err; } _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |