[PATCH] firmware: handle firmware files being links correctly

Sascha Hauer s.hauer at pengutronix.de
Thu Sep 18 07:24:25 PDT 2025


On Wed, 17 Sep 2025 11:58:34 +0200, Sascha Hauer wrote:
> Sometimes firmware files can be links. When rebuilding barebox correctly
> rebuilds the firmware when file the link points to is updated, but the
> firmware is not rebuilt when the link itself is changed to link to
> another file.
> 
> Fix this by including the sha256sum directly in the generated assembly
> file by using .byte rather than generating a file containing the
> binary sha256sum and include that using .incbin. This way the generated
> assembly file for sure changes when the firmware file changes and it's
> rebuilt when necessary (and not when it's not).
> 
> [...]

Applied, thanks!

[1/1] firmware: handle firmware files being links correctly
      https://git.pengutronix.de/cgit/barebox/commit/?id=b10351d3080a (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list