Skip to content

Instantly share code, notes, and snippets.

@ma34s
Created February 17, 2015 14:05
Show Gist options
  • Save ma34s/fd80f0dd456c9e3c6b34 to your computer and use it in GitHub Desktop.
Save ma34s/fd80f0dd456c9e3c6b34 to your computer and use it in GitHub Desktop.
#!/bin/bash
export USE_CCACHE=1
export CCACHE_DIR=~/.ccache
export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64
export PATH=$PATH:$JAVA_HOME/bin
export ANDROID_JAVA_HOME=$JAVA_HOME
export PATH=$PATH:~/bin
export KBUILD_BUILD_HOST=kbc
device=$1
date
. build/envsetup.sh
time brunch $device
echo "end date: `date`"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment