Currently we run a full package build with something like this because multi-threaded builds some times fail so we give it another chance single threaded:
make -j8 IGNORE_ERRORS=m || make -j1 IGNORE_ERRORS=m V=s
The problem is that depending on when the multithread build fails we have seen that different numbers of packages are being built successfully even on the same code base.