I have figured out a solution to my problem...
I have made 2 buildspec.mk files... one having TARGET_PLATFORM as
device and other having generic.

I include them depending upon the type of build I want.

This approach is working for me

Kartic

On May 6, 9:24 am, Kartic <[email protected]> wrote:
> Guys, is this the right group to post such queries?
> If not please direct me to the correct group....
>
> Waiting for your replies...
>
> Kartic
>
> On May 5, 6:29 pm, Kartic <[email protected]> wrote:
>
> > Hi All,
>
> > I am facing a problem in building Android's source for emulator.
> > Earlier I was able to build an image for emulator, make some changes
> > in the code and add those changes in the image file etc.
>
> > This morning I have updated my code base to build for HTC dream by
> > following the info provided 
> > in:http://source.android.com/documentation/building-for-dream
>
> > Now I am able to build for device only, image files under out/target/
> > product/generic do not get changed if I give make command.
>
> > Giving . build/envsetup.sh and lunch 1 command shows that
> > TARGET_PLATFORM is set as htc_dream
> > Can this be the problem? How do I resolve this?
>
> > I want to build for both emulator and device using the same code
> > base.
> > Please suggest how do I go about it..
>
> > Thanks,
> > Kartic Grover
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"android-framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/android-framework?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to