[Buildroot] [PATCH 03/20] package/usbredir: new package

Peter Korsgaard jacmet at uclibc.org
Fri Dec 14 15:06:37 UTC 2012


>>>>> "Yann" == Yann E MORIN <yann.morin.1998 at free.fr> writes:

 Yann> +comment "usbredir requires libusb"
 Yann> +	depends on !BR2_PACKAGE_LIBUSB
 Yann> +
 >> 
 >> We normally use select for libraries. Any reason to not use it here?

 Yann> libusb depends on threads, and I do not want to play the game of
 Yann> inheriting the dependencies of my own dependencies, and reproduce
 Yann> the libffi mess.

 Yann> libusb has a dependency I can not select, so I just depend on it.

Ok, but that just moves the trouble higher up the stack. E.G. you want
to enable qemu, but it tells you that it needs usbredir so you go
hunting around for it only to discover that it needs libusb and finally
you see that you need threads support in your toolchain.

In other words, selects are more user friendly than depends
on. Most likely we have more users than developers, so we should
optimize for making things nice for users rather than devs.

I would prefer you select libusb.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list