]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
package/openocd: select libusb when selecting libusb-compat
authorRomain Naour <romain.naour@gmail.com>
Fri, 1 Jan 2016 16:01:06 +0000 (17:01 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 1 Jan 2016 18:56:22 +0000 (19:56 +0100)
commitee2f4138004a8fb7493039503dbedd8a73d6475d
treed675b27879e47fb64c63f50386044c66ea0b36ce
parentd52deb9a9f1af9cfc8b4fed9ff9189eff29d2788
package/openocd: select libusb when selecting libusb-compat

libusb-compat depends on libusb package, so we need to select
libusb package at the same time as libusb-compat to avoid an
unmet dependency.

Since 28f67899e54f15c6e48484ea2976c3e431756bcb, the build
stop if a package build is trigged at Makefile level without
being selected at Config.in level.

This is the case here with BR2_PACKAGE_OPENOCD_USBPROG which
select BR2_PACKAGE_LIBUSB_COMPAT without selecting
BR2_PACKAGE_LIBUSB.

Fixes:
http://autobuild.buildroot.net/results/b4a/b4a8c54eed6bf75ab8ade0653953d19792155727/

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/openocd/Config.in