Only the ${B} part should be trimmed, not what follows
(which is subject to change, depending on where the sources are).
(From OE-Core rev: 1e3fc9b7592956af9bd93e0a077c5b9f3fd9ca2e)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>