[PATCH 2/2] mxs: always build mxsimage and mxsboot tools

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx>
---
 scripts/Kconfig  | 9 ---------
 scripts/Makefile | 2 +-
 2 files changed, 1 insertion(+), 10 deletions(-)

diff --git a/scripts/Kconfig b/scripts/Kconfig
index 20530b9ae384..b903486ecd8f 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 30b7ec540cdf..744f4dd0e7e6 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/
-- 
2.28.0


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux