Default Compiling from the Sourcecode

Hi all, I've been googling around but didn't find any useful information, so I'm asking just in case. Is there any guide to compile the full Android sources (kernel+userspace) for the Sapphire?

I found information for the Dream, and I guess it will be similar, but android's kernel source doesn't even have the sapphire files (though I have a copy elsewhere), but I don't know which libraries I might need to add by myself to the destination images, or something else I need to have in consideration...

Thanks in advance!