LFS would be about the closest to what you are asking for Linux from scratch). Other than that LInux is a ditribution based on earlier distributions.