cd ~/android/system/device git clone http://github.com/koush/android_device_generic.git generic mkdir motorola cd motorola git clone http://github.com/koush/android_device_motorola_sholes.git sholes
Connect your phone to your computer
cd ~/android/system/device/motorola/sholes . extract-files.sh
it is suggested that the extract script is ran once on a Droid running either the latest Froyo leak or a phone running either a froyo cyanognen mod build or Sapphire to get the latest moto proprietary files
To build for the Droid Specifically do the following
cd ~/android/system . build/envsetup.sh lunch generic_sholes-userdebug make