In some configurations barebox needs a host-libusb (imx-usb-loader enabled). Detecting this is not possible in ptxdist, so add a Kconfig option to manually select host-libusb when needed.
Signed-off-by: Sascha Hauer <[email protected]> --- platforms/barebox.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/platforms/barebox.in b/platforms/barebox.in index 224bb41..6e65f83 100644 --- a/platforms/barebox.in +++ b/platforms/barebox.in @@ -9,6 +9,7 @@ config BAREBOX_ARCH_STRING menuconfig BAREBOX select BOOTLOADER + select HOST_LIBUSB if BAREBOX_NEEDS_HOST_LIBUSB prompt "barebox " bool help @@ -51,4 +52,8 @@ config BAREBOX_BAREBOXENV environment. Enable this option access the barebox environment from the target Linux system. +config BAREBOX_NEEDS_HOST_LIBUSB + prompt "barebox needs libusb" + bool + endif -- 1.8.5.3 -- ptxdist mailing list [email protected]
