summaryrefslogtreecommitdiff
path: root/tools/u_boot_pylib/tools.py
diff options
context:
space:
mode:
authorSam Edwards <cfsworks@gmail.com>2025-03-15 15:18:06 -0700
committerTom Rini <trini@konsulko.com>2025-04-02 14:33:50 -0600
commit86838a1ddc8a0e5b5f548a5051e5e68f90fb6660 (patch)
treea3c4267b47e68341567a33207d81790da2dd5aaa /tools/u_boot_pylib/tools.py
parent8c39dc549b0de155c02a2b39f01dae19775f41a5 (diff)
makefile: Avoid objcopy --gap-fill for .hex/.srec
This flag only makes sense for `binary` output, because .hex/.srec are sparse formats and represent gaps without filler. While the GNU binutils version of objcopy does not seem to mind the extra flag being passed, llvm-objcopy considers this a fatal error. There is already a version of the objcopy command template in the Makefile that doesn't use --gap-fill, which is provided for EFI. So use this other version for all .hex/.srec outputs as well. Signed-off-by: Sam Edwards <CFSworks@gmail.com> Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'tools/u_boot_pylib/tools.py')
0 files changed, 0 insertions, 0 deletions