[Buildroot] [PATCH] gcc-initial: Add host-elf2flt dependency when BR2_PACKAGE_HOST_ELF2FLT=y

Gustavo Zacarias gustavo at zacarias.com.ar
Wed Sep 11 12:14:16 UTC 2013


On 09/04/2013 01:19 PM, Thomas Petazzoni wrote:

> Dear Axel Lin,
> 
> On Wed, 04 Sep 2013 23:18:35 +0800, Axel Lin wrote:
>> It's needed for some uClibc combination, link-flat.so which uses elf2flt
>> pulls in libgcc according to uclibc/Makerules (used in uclibc/libc/Makefile.in).
>> Thus pull it in for gcc-initial.
>>
>> This also ensures elf2flt is ready when BR2_PACKAGE_HOST_ELF2FLT=y before
>> building other packages.
>>
>> Signed-off-by: Axel Lin <axel.lin at ingics.com>
> 
> Reviewed-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>

Actually pulling in host-elf2flt should depend on BINFMT_FLAT rather
than the package being selected, as per the patch i've just sent.
Regards.





More information about the buildroot mailing list