You should compile it with these commands (in bash):
$ . build/envsetup.sh
$ lunch sdk-eng
$ make sdk
This process may take a little more than an hour.
If you need the Windows SDK use:
$ . build/envsetup.sh
$ lunch sdk-eng
$ make win_sdk
Now you will have to point Eclipse to the new SDK located at:
out/host/platform/sdk/android-sdk_eng.username_platform-x86/
Or something similiar.