2 ms·
> You can't build the kernel without all of the parts. You most certainly can. Loadable modules have been part of the kernel for over 20 years now. The fact t
by xorcist 5y ago
> You can't build the kernel without all of the parts.
You most certainly can. Loadable modules have been part of the kernel for over 20 years now.
The fact that many drivers exists out-of-tree should be enough to settle that particular argument.
There are libraries in the kernel perfectly usable on its own. There are also many scripts, analysis and testing tools that live in the kernel that build and runs separately from the kernel itself. Then there's a whole lot of documentation.
Linux is what git what designed for. It sits in a singular respository and no other repositories are needed to build a working product. It can accurately be described as a monorepo, if that particular distinction was important.
- tsimionescu 5y agoI'd also note that Linux doesn't use any kind of dependency management tools between all of its sub-components: everything builds using what Git keeps on disk. Also, there are no external dependencies: if you want a new library to be used, you copy its source to the kernel source tree - a classic monorepo solution, that detractors claim "doesn't scale".
- anarazel 5y agoWhich pre-existing libraries have been integrated that way into the kernel? There's a few tiny pieces, but largely you can't just use pre-existing libs inside the kernel.