Skip to content

Instantly share code, notes, and snippets.

@KunYi
Created October 15, 2020 05:23
Show Gist options
  • Save KunYi/8db59e5734e653793710b9be99a1634a to your computer and use it in GitHub Desktop.
Save KunYi/8db59e5734e653793710b9be99a1634a to your computer and use it in GitHub Desktop.
somethings in my bashrc
# for yocto download
if [ -d ~/yocto_cache/download ]; then
export DL_DIR=/home/kunyi/yocto_cache/download
export BB_ENV_EXTRAWHITE="${BB_ENV_EXTRAWHITE} DL_DIR"
fi
if [ -d ~/yocto_cache/sstate ]; then
export SSTATE_DIR=/home/kunyi/yocto_cache/sstate
export BB_ENV_EXTRAWHITE="${BB_ENV_EXTRAWHITE} SSTATE_DIR"
fi
export PATH=~/.local/bin:"$PATH"
export MEGA_NZ_ACCOUNT="[email protected]"
export MEGA_NZ_PASSWORD=
# to enabled ccache
export CCACHE_DIR="/home/kunyi/.ccache"
export CC="ccache gcc"
export CXX="ccache g++"
export PATH="/usr/lib/ccache:$PATH"
# setting time format to en_US in bash/terminal
export LC_TIME=en_US.UTF-8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment