Confirmed users
1,100
edits
m (→Desktop: fix bug and external links) |
Canuckistani (talk | contribs) (converted the headings to wiki markup so people can edit sections) |
||
| Line 38: | Line 38: | ||
== Building B2G == | |||
=== Pull the code === | |||
<pre class="_fck_mw_lspace"> hg clone http://hg.mozilla.org/mozilla-central src | <pre class="_fck_mw_lspace"> hg clone http://hg.mozilla.org/mozilla-central src | ||
git clone https://github.com/mozilla-b2g/gaia gaia | git clone https://github.com/mozilla-b2g/gaia gaia | ||
| Line 53: | Line 53: | ||
</pre> | </pre> | ||
</p> | </p> | ||
=== Create a mozconfig === | |||
<p>Create a file named "mozconfig" in the mozilla-central directory. | <p>Create a file named "mozconfig" in the mozilla-central directory. | ||
Here's an example mozconfig. | Here's an example mozconfig. | ||
| Line 72: | Line 72: | ||
#ac_add_options --enable-b2g-ril | #ac_add_options --enable-b2g-ril | ||
</pre> | </pre> | ||
=== Build === | |||
<p>In the mozilla-central directory: | <p>In the mozilla-central directory: | ||
</p> | </p> | ||
| Line 79: | Line 79: | ||
<p>The build will appear in ../build (or whatever MOZ_OBJDIR is set to in your mozconfig). | <p>The build will appear in ../build (or whatever MOZ_OBJDIR is set to in your mozconfig). | ||
Be sure you're using python2 and not python3 as build will fail with python3. | Be sure you're using python2 and not python3 as build will fail with python3. | ||
</p> | </p> | ||