Everytime when I want to do a fresh build, I did: $ . /path/to/oe-init-build-env <builddir> Edit SSTATE_DIR and DL_DIR in conf/local.conf The most edit I do is SSTATE_DIR, DL_DIR and MACHINE, I guess that not only me did this, it would help a lot if oe-init-build-env can read SSTATE_DIR and DL_DIR from env vars and write in conf/local.conf. Another way is use BB_ENV_EXTRAWHITE, but I think that it is not straightforward enough, and write in conf/local.conf is more easier for debugging
We should use a site.conf (e.g. in $HOME) to solve this kind of issue. *** This bug has been marked as a duplicate of bug 7837 ***