summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland Hieber <rhi@pengutronix.de>2020-11-07 21:47:28 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2020-11-09 08:49:39 +0100
commitb7c83c6bf2c5a6e4d9289a3c458843b90ba2b32a (patch)
tree5a3f6cbb61d781b0fe75bbe525957a4af9c79a15
parent1513b6b156bdcabae72b1303c592c7dcb80a5340 (diff)
downloadbarebox-b7c83c6bf2c5a6e4d9289a3c458843b90ba2b32a.tar.gz
barebox-b7c83c6bf2c5a6e4d9289a3c458843b90ba2b32a.tar.xz
mxs: always build mxsimage and mxsboot tools
Both tools are used unconditionally by images/Makefile.mxs. Always build them for ARCH_MXS, and remove their prompt in the host tools section, as they are not really useful as stand-alone tools. Signed-off-by: Roland Hieber <rhi@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--scripts/Kconfig9
-rw-r--r--scripts/Makefile2
2 files changed, 1 insertions, 10 deletions
diff --git a/scripts/Kconfig b/scripts/Kconfig
index 20530b9ae3..b903486ecd 100644
--- a/scripts/Kconfig
+++ b/scripts/Kconfig
@@ -20,15 +20,6 @@ config MVEBU_HOSTTOOLS
This enables building the tools kwbimage to create an image suitable
for Marvell mvebu machines and kwboot to boot via UART.
-config MXS_HOSTTOOLS
- bool "mxs hosttools" if COMPILE_HOST_TOOLS
- depends on ARCH_MXS || COMPILE_HOST_TOOLS
- default y if ARCH_MXS
- help
- This builds the tools mxsimage and mxsboot which are needed to
- create bootable image files for mxs. You need openssl development
- files to compile this tool.
-
config OMAP3_USB_LOADER
bool "omap3 USB loader"
depends on ARCH_OMAP3 || COMPILE_HOST_TOOLS
diff --git a/scripts/Makefile b/scripts/Makefile
index 30b7ec540c..744f4dd0e7 100644
--- a/scripts/Makefile
+++ b/scripts/Makefile
@@ -21,7 +21,7 @@ hostprogs-always-$(CONFIG_ARCH_DAVINCI) += mkublheader
HOSTCFLAGS_zynq_mkimage.o = -I$(srctree) -I$(srctree)/arch/arm/mach-zynq/include
hostprogs-always-$(CONFIG_ARCH_ZYNQ) += zynq_mkimage
hostprogs-always-$(CONFIG_ARCH_SOCFPGA) += socfpga_mkimage
-hostprogs-always-$(CONFIG_MXS_HOSTTOOLS) += mxsimage mxsboot
+hostprogs-always-$(CONFIG_ARCH_MXS) += mxsimage mxsboot
hostprogs-always-$(CONFIG_ARCH_LAYERSCAPE) += pblimage
hostprogs-always-$(CONFIG_ARCH_STM32MP) += stm32image
KBUILD_HOSTCFLAGS += -I$(srctree)/scripts/include/