Confirmed users, Bureaucrats and Sysops emeriti
2,974
edits
Line 12: | Line 12: | ||
== 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 whole 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>$GAIA_DISTRIBUTION_DIR=distribution_tablet B2G_SYSTEM_APPS=1 B2G_UPDATER=1 ./build.sh</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 whole 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>$GAIA_DISTRIBUTION_DIR=distribution_tablet B2G_SYSTEM_APPS=1 B2G_UPDATER=1 ./build.sh</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>How to build gecko or gaia only</p> | ||
# <p>Gecko</p><p><code>$B2G_UPDATER=1 ./build.sh gecko</code></p> | # <p>Gecko</p><p><code>$B2G_UPDATER=1 ./build.sh gecko</code></p> |