Firefox OS/TCP/Patching: Difference between revisions

Jump to navigation Jump to search
No edit summary
Line 24: Line 24:
== Start to build flatfish ==
== Start to build flatfish ==
# <p>Connect flatfish device for extract necessary files at first build</p> <p>The first build will pull necessary files into backup-flatfish which is automatic created by extract-files.sh. You DO NOT need to connect flatfish device if backup-flatfish is created.</p>
# <p>Connect flatfish device for extract necessary files at first build</p> <p>The first build will pull necessary files into backup-flatfish which is automatic created by extract-files.sh. You DO NOT need to connect flatfish device if backup-flatfish is created.</p>
# <p>How to build all of B2G</p><p>For flatfish, we need some prefix to support tablet distribution and enable some functions. GAIA_DISTRIBUTION_DIR=distribution_tablet is used for supporting tablet distribution of gaia. B2G_SYSTEM_APPS=1 is for moving webapp from /data to /system, and B2G_UPDATER=1 is enable OTA.</p><p><code><span style="color:#006400; background:#D3D3D3">GAIA_DISTRIBUTION_DIR=distribution_tablet B2G_SYSTEM_APPS=1 B2G_UPDATER=1 ./build.sh</span></code></p><p>Building whole system might take a long time, you can take a rest or try to build gecko/gaia if you just modify gecko/gaia.</p>
# <p>How to build all of B2G</p><p>For flatfish, we need some prefix to support tablet distribution and enable some functions. GAIA_DISTRIBUTION_DIR=distribution_tablet is used for supporting tablet distribution of gaia. B2G_SYSTEM_APPS=1 is for moving webapp from /data to /system, and B2G_UPDATER=1 is enable OTA.</p><p><code><span style="color:#006400; background:#D3D3D3">GAIA_DEVICE_TYPE=tablet B2G_SYSTEM_APPS=1 B2G_UPDATER=1 ./build.sh</span></code></p><p>Building whole system might take a long time, you can take a rest or try to build gecko/gaia if you just modify gecko/gaia.</p>
# <p>How to build Gecko or Gaia only</p><p>Gecko only</p><p><code><span style="color:#006400; background:#D3D3D3">B2G_UPDATER=1 ./build.sh gecko</span></code></p><p>Gaia only</p><p><code><span style="color:#006400; background:#D3D3D3">GAIA_DISTRIBUTION_DIR=distribution_tablet B2G_SYSTEM_APPS=1 ./build.sh gaia</span></code></p>
# <p>How to build Gecko or Gaia only</p><p>Gecko only</p><p><code><span style="color:#006400; background:#D3D3D3">B2G_UPDATER=1 ./build.sh gecko</span></code></p><p>Gaia only</p><p><code><span style="color:#006400; background:#D3D3D3">GAIA_DEVICE_TYPE=tablet B2G_SYSTEM_APPS=1 ./build.sh gaia</span></code></p>


== Flash the images you build ==
== Flash the images you build ==
Confirmed users
76

edits

Navigation menu