]> code.ossystems Code Review - meta-freescale.git/commit
libubootenv.inc: Allow build after bootloader rework
authorOtavio Salvador <otavio@ossystems.com.br>
Tue, 13 Apr 2021 00:29:13 +0000 (21:29 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Tue, 13 Apr 2021 02:52:57 +0000 (23:52 -0300)
commitef72b25a7253304dff1e8c090e33384e9f934983
treeab0f2a78aa5bd3d2c9390ca21c32d17fbb1b4dfd
parentdbcedd9061d1824145e361ff7d289b36bf4c9b83
libubootenv.inc: Allow build after bootloader rework

The libubootenv requires the UBOOT_MACHINE or UBOOT_CONFIG to allow
libubootenv to build. This is caused by the commit below:

,----[ libubootenv change ]
| commit 10aa1291979fb90bed1beb49be4d406ed0e1e4d5 ┃
| ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━━━━━━━━━━━━━
| Author: Ming Liu <liu.ming50@gmail.com>
| Date:   Tue Aug 25 20:08:01 2020 +0200
|
|     libubootenv: inherit uboot-config
|
|     This mainly aims to involve in the sanity check of UBOOT_CONFIG and
|     UBOOT_MACHINE, it will throw a error message at recipe parsing time if
|     neither of them is set, and libubootenv would be skipped.
|
|     Signed-off-by: Ming Liu <liu.ming50@gmail.com>
|     Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
`----

This an error on libubootenv recipe, in my point of view, either way we
can override it based on the selected bootloader thus fixing the build
failure.

Fixes: 776932e1 ("Rework the u-boot-fslc and u-boot-imx settings logic")
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
recipes-bsp/u-boot/libubootenv_%.bbappend [new file with mode: 0644]