Mender has a dependency on this and that is why it is build.
Any “patch fixes” that you have done on your U-boot recipe you need to apply to the u-boot-fw-utils recipe as well.
They are actually built from the same source, but as it is two different packages they have two “instances” of the source code that you need to patch similarly.
I’ve created a u-boot-fw_utils_v2014.10.bb recipe based on a combination of my u-boot recipe, the documentation example and my u-boot.inc. (Cant paste it as it keeps telling me I can’t quote 2 users?)
I’ve also updated my machine conf adding:
PREFERRED_PROVIDER_u-boot-fw-utils = “u-boot-fw-utils-v2014.10”
PREFERRED_RPROVIDER_u-boot-fw-utils = “u-boot-fw-utils-v2014.10”
After the recipes were parsed I’m seeing the following warning:
NOTE: Resolving any missing task queue dependencies NOTE: multiple providers are available for runtime u-boot-fw-utils (u-boot-fw-utils, u-boot-fw)
NOTE: consider defining a PREFERRED_RPROVIDER entry to match u-boot-fw-utils
I can see that u-boot-fw-utils is still being built from u-boot-fw-utils/1_2017.01-r0.
OK I see my error, I got confused with the my_fork syntax.
Have renamed my recipe u-boot-fw-utils-socfpga_v2014.10.bb and set iwg24m.conf to:
PREFERRED_PROVIDER_u-boot-fw-utils = “u-boot-fw-utils-socfpga”
PREFERRED_RPROVIDER_u-boot-fw-utils = “u-boot-fw-utils-socfpga”