]> code.ossystems Code Review - openembedded-core.git/commit
kernel-yocto: relax BSP definition test
authorBruce Ashfield <bruce.ashfield@windriver.com>
Wed, 23 Aug 2017 19:20:20 +0000 (15:20 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 24 Aug 2017 08:37:11 +0000 (09:37 +0100)
commit156cf9e25f875a50f907e570d9b62cbc2c051133
tree51080383495cb9540b695a9338913d9dd6783f79
parent6b799e4b315ee5a1eaba9f445b2ba7d37d1e0176
kernel-yocto: relax BSP definition test

commit 44aea7b873 [kernel-yocto: ensure that only valid BSPs are built]
introduced a new check to ensure that a valid BSP definition was found,
rather than building something that 'closely' matched the current
MACHINE.

This check breaks valid configurations which do not have a bsp
definition but are otherwise completely configured machines.

To allow both elements to co-exist (and not add warnings or errors
to otherwise valid builds), we first check to see if an empty bsp
definition was found, but then check to see if a defconfig was
provided.

If a defconfig has been provided, that is a sign that the board
configuration is complete and we should continue the build without
otherwise bothering the user.

Tested on meta-raspberrypi and linux-yocto*

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel-yocto.bbclass