summaryrefslogtreecommitdiffstats
path: root/scripts/imx
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2018-06-09 09:27:56 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2018-06-11 22:06:36 +0200
commit526dddf4c3493a7b7732d9bd0aab2d3e22b3154a (patch)
treef7c4008ee722af799da9bb319a30a88fbe76cbdc /scripts/imx
parent23ee83f42f947a7f9d725c71f638f7c9bacc93c3 (diff)
downloadbarebox-526dddf4c3493a7b7732d9bd0aab2d3e22b3154a.tar.gz
barebox-526dddf4c3493a7b7732d9bd0aab2d3e22b3154a.tar.xz
scripts: create a separate section for host tools
This allows to enable host tools even if they are not needed for the current configuration to improve compile coverage and simplify packaging these tools. The conversion doesn't cover all tools available but can be extended later. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'scripts/imx')
-rw-r--r--scripts/imx/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/imx/Kconfig b/scripts/imx/Kconfig
index fda9c639c1..ef83fa14dd 100644
--- a/scripts/imx/Kconfig
+++ b/scripts/imx/Kconfig
@@ -1,6 +1,6 @@
config ARCH_IMX_USBLOADER
- depends on ARCH_MXS || ARCH_IMX
- bool "compile imx-usb-loader"
+ depends on ARCH_MXS || ARCH_IMX || COMPILE_HOST_TOOLS
+ bool "imx-usb-loader"
help
imx-usb-loader is a tool to upload and start imximages to an i.MX SoC
in ROM boot mode. It requires libusb, so make sure you have the libusb