Okay "make modules" will lead to the kernel.release file being re-created. So kernel.bbclass of Yocto master needs to be fixed. This reverts commit 3cdbc49cbb.
3cdbc49cbb