Skip to content

Instantly share code, notes, and snippets.

@dev-harsh1998
Last active October 18, 2021 12:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dev-harsh1998/e0844551fb6b7e57d3f5b51d77067afb to your computer and use it in GitHub Desktop.
Save dev-harsh1998/e0844551fb6b7e57d3f5b51d77067afb to your computer and use it in GitHub Desktop.
update
# User Setup
export TZ="Asia/Kolkata"
export KBUILD_BUILD_USER="dev-harsh1998"
export KBUILD_BUILD_HOST="PhAnToMiZeR"
#ccache setup
export USE_CCACHE=1
export CCACHE_EXEC=$(which ccache)
export CCACHE_DIR=$(pwd)/../../ccache/loss_x2_eng
$CCACHE_EXEC -M 350G
#utility setup
JOBS="-j$(nproc --all)"
MAKE="make $JOBS"
#Compile intructions
. build/envsetup.sh
lunch lineage_X2-userdebug
$MAKE otapackage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment