How to build specific components instead of `make buildworld`

`make buildworld` is really time-consuming. It builds lots of things like llvm toolchains. But I just want to build libc with debug symbols.

I have perused build(7), but did not find a solution.

Thanks.
 
If you have previously built world, you can often build smaller parts by running make on the Makefile in the correct subdirectory. I don't know if this works for libc; I never tried.
If you have never built world before on this source directory, building parts will very likely fail.
 
Back
Top