]> code.ossystems Code Review - openembedded-core.git/commit
u-boot-tools: Split out inc file
authorJoshua Watt <JPEWhacker@gmail.com>
Wed, 25 Mar 2020 14:01:57 +0000 (09:01 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 25 Mar 2020 16:09:29 +0000 (16:09 +0000)
commit2f3bd198d9b1e85f17f7a587b1690ab196ab0300
treedc3f42788060474ea740840ae70ba7744740b99b
parentda358e415726f836e6b3e69ad7fbeffb50bd402d
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>
meta/recipes-bsp/u-boot/u-boot-tools.inc [new file with mode: 0644]
meta/recipes-bsp/u-boot/u-boot-tools_2020.01.bb