Chevycam94 has a guide here for building D1 roms: http://www.droidforums.net/forum/steel-droid/196475-guide-how-build-your-own-rom-cm7-source.html
...Check it out Way Better!!!!!...
...Facebook wont sync. Sorry. Check the 2.0.2 post for more info.
Building SHOLES ROM from Source
^^^ has alot of decent info, the alldroid link doesn't redirect to the archived page though
I'm no legal expert, but check out this thread posts 13 & 14 http://www.droidforums.net/forum/thunderbolt-hacks/136683-kernal-source.html
Separate names with a comma.