internal/rosa: respect preferred loadavg target

This generally improves build performance and system responsiveness.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-07-09 10:08:08 +09:00
parent 6cfd8fb934
commit 237e793895
10 changed files with 22 additions and 8 deletions
+3 -1
View File
@@ -32,11 +32,13 @@ func (attr *MakeMakerHelper) script(t Toolchain, _ string) string {
script := `perl Makefile.PL \
PREFIX=/system
make \
` + jobsFlagE
` + jobsFlagE + ` \
` + loadFlagE
if !attr.SkipCheck && t.opts&OptSkipCheck == 0 {
script += `
make \
` + jobsFlagE + ` \
` + loadFlagE + ` \
test
`
}