From 3d3ec4b804a571620e1cd5aeaae4d4a8772cb7a5 Mon Sep 17 00:00:00 2001 From: Hang Zhao Date: Fri, 21 Jul 2023 15:57:14 +0800 Subject: [PATCH] add btf_depend when using "-d" option Signed-off-by: Hang Zhao --- source/sysak.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/sysak.c b/source/sysak.c index cf4f6208..67e0db5d 100644 --- a/source/sysak.c +++ b/source/sysak.c @@ -789,6 +789,8 @@ static int subcmd_parse(int argc, char *argv[]) if (!strcmp(argv[0], "-d")) { only_download = true; pre_module = true; + btf_depend = true; + goto exec; } if (strstr(prev_dep, "btf") != NULL) { -- Gitee