summaryrefslogtreecommitdiffstats
path: root/kernel/modules.pl
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/modules.pl')
-rw-r--r--kernel/modules.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/modules.pl b/kernel/modules.pl
index 2451a6b23..ac99a4919 100644
--- a/kernel/modules.pl
+++ b/kernel/modules.pl
@@ -69,7 +69,9 @@ sub images {
push @modules, category2modules($_);
}
- @modules = difference2(\@modules, \@skip_modules_on_stage1);
+ if ($image !~ /all/) {
+ @modules = difference2(\@modules, \@skip_modules_on_stage1);
+ }
if ($image !~ /other|all/) {
@modules = difference2(\@modules, \@skip_big_modules_on_stage1)
}