]> code.ossystems Code Review - openembedded-core.git/commit
u-boot-tools: Split out inc file
authorJoshua Watt <JPEWhacker@gmail.com>
Wed, 1 Apr 2020 14:27:36 +0000 (09:27 -0500)
committerAnuj Mittal <anuj.mittal@intel.com>
Thu, 2 Apr 2020 03:39:37 +0000 (11:39 +0800)
commit2e15642ada8b5403ac933072a581b9af9a359122
tree5ad6e7f7909dd99857b7333674cfb18eb27411f0
parent0743dcd0cd70dee87a49d3bcd017168352e60982
u-boot-tools: Split out inc file

Spilts out the inc file for u-boot-tools so that BSPs can include it for
their forked version of the tools, just like u-boot.inc.

As an example, this recipe [1] builds mkimage u-boot as part of the
u-boot recipe itself. This is incorrect because u-boot is a target
recipe, which means that the uninative loader transformations do not get
applied when the recipe is restored from sstate, breaking the mkimage
command breaks. The correct solution is to have a u-boot-tools-imx
recipe that pulls in their custom u-boot source; this inc file makes
that much easier to maintain.

[1]: https://github.com/Freescale/meta-freescale/blob/aa27fc62095cfd6c147c8f6865296ddc29bf0fa6/recipes-bsp/u-boot/u-boot-imx_2019.04.bb

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2f3bd198d9b1e85f17f7a587b1690ab196ab0300)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
meta/recipes-bsp/u-boot/u-boot-tools.inc [new file with mode: 0644]
meta/recipes-bsp/u-boot/u-boot-tools_2019.07.bb