Advertisement
RolanDroid

osprey-n

Oct 9th, 2016
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. # HOST
  4. export KBUILD_BUILD_USER=Rolando
  5. export KBUILD_BUILD_HOST=Linux
  6.  
  7. # SET UP CCACHE
  8. export USE_CCACHE=1
  9. export CCACHE_DIR=/home/rolando.ccache
  10. prebuilts/misc/linux-x86/ccache/ccache -M 50G
  11.  
  12. # SET UP JAVA
  13. out/host/linux-x86/bin/jack-admin kill-server
  14. JACK_VM_COMMAND=${JACK_VM_COMMAND:="java -Xmx4096m"}
  15. export JACK_SERVER_VM_ARGUMENTS="-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx4096m"
  16. out/host/linux-x86/bin/jack-admin start-server
  17. jack-admin start-server
  18.  
  19. # REPO SYNC
  20. repo init -u https://github.com/CyanogenMod/android.git -b cm-14.0
  21. curl --create-dirs -L -o .repo/local_manifests/cm-14.0.xml -O -L https://raw.githubusercontent.com/OSPREY-N/local_manifest/master/cm-14.0.xml
  22. repo sync --force-sync -f -c
  23.  
  24. # BUILD THE DEVICE
  25. . build/envsetup.sh
  26. breakfast osprey
  27. make clean && make clobber
  28. mka bacon -j8
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement