Messages in this thread Patch in this message | | | From | Xie XiuQi <> | Subject | [PATCH 1/3] scripts/export_report.pl: fix the path suffix of module | Date | Tue, 19 Sep 2023 22:11:19 +0800 |
| |
From: Xie XiuQi <xiexiuqi@huawei.com>
Since commit f65a486821cf ("kbuild: change module.order to list *.o instead of *.ko"), modules.order stores .o instead of .ko. Therefore, fix it in export_report.pl. Otherwise, the corresponding .mod.c file cannot be found.
Fixes: f65a486821cf ("kbuild: change module.order to list *.o instead of *.ko") Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com> --- scripts/export_report.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/export_report.pl b/scripts/export_report.pl index feb3d5542a62..fa3e47ac7c3b 100755 --- a/scripts/export_report.pl +++ b/scripts/export_report.pl @@ -54,7 +54,7 @@ sub collectcfiles { my @file; open my $fh, '< modules.order' or die "cannot open modules.order: $!\n"; while (<$fh>) { - s/\.ko$/.mod.c/; + s/\.o$/.mod.c/; push (@file, $_) } close($fh); -- 2.25.1
| |