yocto-kernel: enforce exact match for BBLAYERS
authorTom Zanussi <tom.zanussi@linux.intel.com>
Wed, 3 Jul 2013 20:13:34 +0000 (20:13 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 5 Jul 2013 14:40:30 +0000 (15:40 +0100)
commitc34d3f218f5a4536ddf9de366dbb9b0445cdc076
treeb5afeeabf0dfead3795b4df1b19fca973d787ffb
parentd4ad7376f5bf79bc6eb65a692b5356ece4a9f574
yocto-kernel: enforce exact match for BBLAYERS

The current code uses .startswith to find BBLAYERS, which causes false
positives when other variables such as BBLAYERS_NON_REMOVABLE exist.

This forces an exact match instead of a partial match.

Fixes [YOCTO #4743].

(From meta-yocto rev: c039def50ca6c02cb1b66fd4bf76664de42c068e)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/bsp/kernel.py