cmake.bbclass should handle S != B.
Integrated as of oe-core 43073569cb67d98c11aa71211d77b566b64f9145.