internal/rosa/make: split build and check

Doing these together breaks far too many buggy makefiles.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-03-01 12:11:41 +09:00
parent 1d0fcf3a75
commit 51d3df2419
19 changed files with 119 additions and 145 deletions

View File

@@ -29,7 +29,7 @@ func (t Toolchain) newKernelHeaders() pkg.Artifact {
"-f /usr/src/kernel-headers/Makefile",
"O=/tmp/kbuild",
"LLVM=1",
`HOSTLDFLAGS="${LDFLAGS}"`,
`HOSTLDFLAGS="${LDFLAGS:-''}"`,
"INSTALL_HDR_PATH=/work/system",
"headers_install",
},