in rpi.mk, osrelease.sh is invoked with $(HOST_SH), so the bug in your build is that HOST_SH is empty. You should be using the nbmake-evbarm wrapper from the tools build.
Attachment: pgpRJ9kX_UQ0D.pgp Description: PGP signature