[Buildroot] [PATCH v2 3/4] package/avrdude: depends on libftdi1 instead of libftdi

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Mar 16 13:15:23 UTC 2015


Dear Samuel Martin,

On Sun, 8 Mar 2015 18:03:09 +0100, Samuel Martin wrote:

> > How do you tell avrdude to link with libftdi1 and not libftdi when both are
> > built? The same question goes for openocd.
> 
> Both avrdude and openocd first check for libftdi1, and use it if any,
> otherwise check for libftdi.
> So, unless I'm missing something this is ok; but that's true I forgot
> to mention this point in the commit log. :-/

So the patch should actually be:

ifeq ($(BR2_PACKAGE_LIBFTDI1),y)
AVRDUDE_DEPENDENCIES += libftdi1
else ifeq ($(BR2_PACKAGE_LIBFTDI),y)
AVRDUDE_DEPENDENCIES += libftdi
endif

Can you fix and resend?

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list