Hi Chris 

> > > * Knowing your way around the B2G build system - it would be great to
> > > provide a really detailed view of how it works, what it does at each
> > > stage, etc. So that developers can help with it, and fix building
> > > problems
> > > as they arise (there's been a lot of traffic on the mailing list about
> > > this kind of thing recently.)
> 
> > > The B2G build system is really just the android build system.
> 
> > >
> 
> > > gonk/misc/Android.mk is where we have a target called gecko, which in
> > > turn
> > > calls make to build gecko.
> 
> > > There is also a target called profile.tar.gz defined in gaia/Android.mk
> 
> > >
> 
> > > Everything inside gecko then gets built using normal gecko procedures
> 
> > > Everything inside gaia gets built using Android.mk and/or Makefile
> 
> > >
> 
> > > The rest is pretty much built using android build.
> 

> > We’ve got a fair bit of this already, in different places, but I’m sure we
> > could organize them better, and provide a more detailed description of what
> > happens, how it differs form Android build, how it’s the same, etc.
> 
> > It would be great to be able to answer all these mails we get on dev-b2g
> > saying things like “this sucks: I tried to build for the Open C and bricked
> > my phone. Your instructions weren’t good enough.
> 
So that doesn't really have anything to do with the build system. 

Unfortunately, in many cases, unbricking a phone involves using some Windows 
vendor tool to flash an image. And we're not authorized to redistribute the 
flashing tool, nor the images that could help out. So, in many cases our hands 
are tied, and the user needs to go to the vendor to get their phone unbricked. 

And for what can be done, each phone typically requires a specialized set of 
instructions. Somebody has to create these, and maintain them as changes occur. 

> > > * What other B2G customizations can be done that are useful to talk
> > > about?
> 
> > > What kinds of customizations? I suspect that there are many ways of
> > > customizing things, from prefs, to adding native code, and/or adding
> > > default apps.
> 
Yeah - there are bits and pieces all over the place. So creating someplace 
central to start would probably be good. 

> > I really don’t know what else. Whatever else we think might be worth
> > telling
> > the community about. Whatever might be productive for them to help with.
> 

> > > I have started a google doc at
> 
> > >
> 
> > > https://docs.google.com/a/mozilla.com/document/d/1Wn-nQSHCxJnudyA0XgkVORpCGGBMUW6fOosxEXMkZ8Y/edit#
> 
> > >
> 
> > > Where I have started to collect useful notes. Please feel free to leave
> > > comments here, or reply to this mail.
> 
> > >
> 
> > > I'd really love some team members who are experienced in these areas to
> > > give me some help on putting together some truly useful docs.
> 
Why a google doc and not a wiki page? 

Dave Hylands 
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to