Compiling Android for Palm T|X?

I'm wondering how similar it would be to compile Android from source to make it run on Palm T|X and then load it up using CocoaBoot. I have seen reports of vanilla android running on a T|c so a T|X shouldn't be too far off.
Can I use some of the additions to the kernel that were done for other Linux "flavors" and apply them to Android?