Not directly in line with this but Magnus Back (Sony-Ericsson) gave a very good talk at the Android Builders Summit on how they've been using Debian packages to put together phones for all their customers (carriers) without having to rebuild everything from scratch for every single phone variant: http://events.linuxfoundation.org/events/android-builders...
This isn't exactly what you're requesting, but relevant still.