summaryrefslogtreecommitdiffstats
path: root/scripts/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/Kconfig')
-rw-r--r--scripts/Kconfig35
1 files changed, 35 insertions, 0 deletions
diff --git a/scripts/Kconfig b/scripts/Kconfig
index f7ed775fbc..a490aaa44e 100644
--- a/scripts/Kconfig
+++ b/scripts/Kconfig
@@ -69,4 +69,39 @@ config BAREBOXCRC32_TARGET
'bareboxcrc32' is a userspacetool to generate the crc32 checksums the same way
barebox does. Say yes here to build it for the target.
+config HAS_TARGET_LIBUSB_1_0
+ def_bool $(success,$(CROSS_PKG_CONFIG) --exists libusb-1.0)
+ help
+ Ensure $(CROSS_PKG_CONFIG) is set to a valid pkg-config
+ binary that knows about libusb-1.0 compiled for the
+ target architecture.
+
+config MVEBU_KWBOOT_TARGET
+ bool "kwboot target tool"
+ help
+ Say Y here to build the kwboot tool for the target
+ to bootstrap over UART.
+
+config ARCH_IMX_USBLOADER_TARGET
+ depends on HAS_TARGET_LIBUSB_1_0
+ bool "imx-usb-loader for target"
+ help
+ Say Y here to build the imx-usb-loader tool for the target.
+ The cross toolchain needs libusb-1.0 to compile this tool.
+
+config OMAP3_USB_LOADER_TARGET
+ bool "omap3 USB loader for target"
+ depends on HAS_TARGET_LIBUSB_1_0
+ help
+ Say Y here to build the omap3 usb loader tool for the target.
+ The cross toolchain needs libusb-1.0 to compile this tool.
+
+
+config OMAP4_USBBOOT_TARGET
+ bool "omap4 usbboot for target"
+ depends on HAS_TARGET_LIBUSB_1_0
+ help
+ Say Y here to build the omap4 usb loader tool for the target.
+ The cross toolchain needs libusb-1.0 to compile this tool.
+
endmenu