[U-Boot] [RFC PATCH] tools/imagetool: remove linker generated list

Jeroen Hofstee jeroen at myspectrum.nl
Sat Feb 7 22:38:17 CET 2015


Thanks,

On 02/07/15 22:19, Andreas Bießmann wrote:
> Commit a93648d197df48fa46dd55f925ff70468bd81c71 introduced linker generated
> lists for imagetool which is part of mkimage. It is a nice feature to remove
> the annoying register function calls, but is not portable. Unfortunately some
> host compilers do not support this type of linker scripts. Therefore this
> commit broke this host-tool for theem, namely FreeBSD and Darwin (OS/X).
>
> This commit tries to fix this. We won't go back to the register functions but
> we also can not use the linker script. So use another approach copied from
> linux kernel scripts/mod/file2alias.c.
>
> Signed-off-by: Andreas Bießmann <andreas.devel at googlemail.com>
> Cc: Guilherme Maciel Ferreira <guilherme.maciel.ferreira at gmail.com>
>

I haven't looked into the details yet, but at least things build
again on FreeBSD with this patch. And tools/mkimage at least
displays a help :)

Thanks again, regards
Jeroen



More information about the U-Boot mailing list