[Buildroot] [PATCH] dependencies: Add host prerequisite for elf2flt

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Sep 4 08:51:01 UTC 2013


Dear Axel Lin,

On Wed, 04 Sep 2013 16:16:55 +0800, Axel Lin wrote:
> This ensures elf2flt will be built when BR2_PACKAGE_HOST_ELF2FLT=y before
> building other packages.
> 
> Signed-off-by: Axel Lin <axel.lin at ingics.com>
> ---
> I don't have a blackfin platform, only test build this for blackfin.
> Without this patch, the first time build will result in ELF binary because
> busybox is built before elf2flt.
> With this path, the result looks good, it produces BFLT executable for busybox.

I don't think host-elf2flt should be added at this level of dependency.
If I understand correctly elf2flt, it interfaces with the linker, so I
believe making elf2flt a dependency of binutils would probably make a
bit more sense.

Best regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com


More information about the buildroot mailing list