SHOW:
|
|
- or go back to the newest paste.
| 1 | - | This Script OUTDATED. Use latest from below link. |
| 1 | + | |
| 2 | ||
| 3 | - | https://raw.githubusercontent.com/LegacyServer/Scripts/master/script_build.sh |
| 3 | + | |
| 4 | export USE_CCACHE=1 | |
| 5 | export CCACHE_DIR=/home/ccache/ssh_username #replace "ssh_username" in this line with your own ssh username. | |
| 6 | prebuilts/misc/linux-x86/ccache/ccache -M 50G | |
| 7 | ||
| 8 | - | # Clone this script in your ROM Repo using following commands. |
| 8 | + | |
| 9 | - | # $ cd rom_repo |
| 9 | + | |
| 10 | - | # $ curl link > script_build.sh |
| 10 | + | |
| 11 | # build | |
| 12 | - | # Some User's Details. Please fill it by your own details. |
| 12 | + | |
| 13 | - | # Replace "legacy" with your own SSH Username in lowercase |
| 13 | + | lunch cm_$device-userdebug |
| 14 | - | username=legacy |
| 14 | + | make bacon -j8 |