diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2014-02-26 15:13:17 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2014-03-06 09:19:09 +0100 |
commit | cc21f5c62ebba617191ea971a992230a178b9205 (patch) | |
tree | 2faac117f5f1b4097016478ee31e7ac423cc4ae3 /platforms | |
parent | 5902824fec0b0e3814994517ebb20411dd4615a6 (diff) | |
download | ptxdist-cc21f5c62ebba617191ea971a992230a178b9205.tar.gz ptxdist-cc21f5c62ebba617191ea971a992230a178b9205.tar.xz |
barebox: Add optional dependency to host-libusb
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 <s.hauer@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'platforms')
-rw-r--r-- | platforms/barebox.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/platforms/barebox.in b/platforms/barebox.in index 224bb412d..6e65f83f5 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 |