Gaia/Hacking: Difference between revisions

converted the headings to wiki markup so people can edit sections
m (→‎Desktop: fix bug and external links)
(converted the headings to wiki markup so people can edit sections)
Line 38: Line 38:




<h2> Building B2G </h2>
== Building B2G ==
<h3> Pull the code </h3>
=== 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>
<h3> Create a mozconfig </h3>
=== 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>
<h3> Build </h3>
=== 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><br />
</p>
</p>


Confirmed users
1,100

edits