rm_work needs to exclude all kernel recipes * otherwise kernel is rebuilt every single time and often it fails when building external modules logs and fix patch in attachment the fix: http://git.openembedded.org/openembedded-core/commit/meta/classes/rm_work.bbclass?id=9d23daf03ece06185224f869e9b7f73789689c2d
configure --with-board=qemux86-64 --enable-rootfs=glibc-small --enable-jobs=10 --enable-parallel-pkgbuilds=16 --enable-reconfig --enable-rm-work=yes --enable-prserver=no --with-init=sysvinit --with-package=hello-mod --with-layer=oe-core/meta-skeleton --with-rcpl-version=auto make bbs run a simple bash script that does: for i in linux-windriver kernel-devsrc hello-mod do echo "cleansstate $i" bitbake -c cleansstate $i >> log.$i 2>&1 ls tmp/work-shared/qemux86-64/kernel-build-artifacts echo "build $i" bitbake $i >> log.$i 2>&1 ls tmp/work-shared/qemux86-64/kernel-build-artifacts done