Revisions
-
adumont created this gist
Dec 6, 2011 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,31 @@ Install ccache: In Arch: $ sudo pacman -S ccache Or Ubuntu: $ sudo apt-get install ccache Then run (only needed once): $ ccache -M -4g (size of the cache may vary, I use 4g) Before building (you can put it in your .bashrc): $ export USE_CCACHE=1 THen build as usual: $ . build/envsetup.sh $ lunch $ make bacon It can also be use for building kernel (big improvement): Use a line like: $ make CC="ccache arm-eabi-gcc"