]> code.ossystems Code Review - openembedded-core.git/commit
uboot-config: check UBOOT_CONFIG variable, not flags, for error conditions
authorDenys Dmytriyenko <denys@ti.com>
Mon, 12 Jun 2017 18:47:49 +0000 (14:47 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 14 Jun 2017 09:18:22 +0000 (10:18 +0100)
commitb51383e5268ff33e43a39862814e065afbbd10ca
tree0b052dd78b1d1792ad02fd97deb1edda38fdac16
parent4f33950156c50aab68cbdf80fe52345eea6fb76c
uboot-config: check UBOOT_CONFIG variable, not flags, for error conditions

Sometimes there's a need to change existing UBOOT_CONFIG setting from a recipe,
distro or local config, such as an override or even switch back to UBOOT_MACHINE.
Unfortunately, there's no easy way to override or unset flags, so using them as
an error condition is rather heavy-handed. Change those conditions to check the
UBOOT_CONFIG variable itself, not its flags.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/uboot-config.bbclass