
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@googlemail.com Cc: Guilherme Maciel Ferreira guilherme.maciel.ferreira@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