Advertisement
techmik

my newer mybuild2.sh

Sep 2nd, 2011
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.56 KB | None | 0 0
  1. # mybuild2.sh
  2.      
  3. # my custom script to build and flash
  4.      
  5. # change to top of build directory
  6. cd ~/android/system
  7.      
  8. # clean 1st if called
  9. OPTION="$1"
  10.  
  11. case "$OPTION" in
  12.     clean)
  13.         make clean
  14.         rm -rf ./out
  15. esac      
  16.  
  17. # change to kernel directory and build kernel
  18. cd ~/android/system/kernel/samsung/aries && ./build.sh captivatemtd
  19.  
  20. # change to top of build directory and build, using ccache to speed things up
  21. cd ~/android/system && . build/envsetup.sh && USE_CCACHE=1 brunch captivatemtd
  22.  
  23. # push zip to connected phone and flash
  24. eat
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement