mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/2] sandbox: remove MXS tools from hosttools_defconfig
@ 2020-11-07 20:47 Roland Hieber
  2020-11-07 20:47 ` [PATCH 2/2] mxs: always build mxsimage and mxsboot tools Roland Hieber
  2020-11-09  7:49 ` [PATCH 1/2] sandbox: remove MXS tools from hosttools_defconfig Sascha Hauer
  0 siblings, 2 replies; 3+ messages in thread
From: Roland Hieber @ 2020-11-07 20:47 UTC (permalink / raw)
  To: Barebox Mailing List; +Cc: Roland Hieber

CONFIG_MXS_HOSTTOOLS currently only builds the tools mxsimage and
mxsboot, which are both only needed to create bootable images for the
MXS platform, and are not really useful as stand-alone host tools.

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
 arch/sandbox/configs/hosttools_defconfig | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/sandbox/configs/hosttools_defconfig b/arch/sandbox/configs/hosttools_defconfig
index 72ec0fc462b2..7d3385312488 100644
--- a/arch/sandbox/configs/hosttools_defconfig
+++ b/arch/sandbox/configs/hosttools_defconfig
@@ -2,6 +2,5 @@ CONFIG_IMD=y
 CONFIG_COMPILE_HOST_TOOLS=y
 CONFIG_ARCH_IMX_USBLOADER=y
 CONFIG_MVEBU_HOSTTOOLS=y
-CONFIG_MXS_HOSTTOOLS=y
 CONFIG_OMAP3_USB_LOADER=y
 CONFIG_OMAP4_HOSTTOOL_USBBOOT=y
-- 
2.28.0


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 2/2] mxs: always build mxsimage and mxsboot tools
  2020-11-07 20:47 [PATCH 1/2] sandbox: remove MXS tools from hosttools_defconfig Roland Hieber
@ 2020-11-07 20:47 ` Roland Hieber
  2020-11-09  7:49 ` [PATCH 1/2] sandbox: remove MXS tools from hosttools_defconfig Sascha Hauer
  1 sibling, 0 replies; 3+ messages in thread
From: Roland Hieber @ 2020-11-07 20:47 UTC (permalink / raw)
  To: Barebox Mailing List; +Cc: Roland Hieber

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>
---
 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@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/2] sandbox: remove MXS tools from hosttools_defconfig
  2020-11-07 20:47 [PATCH 1/2] sandbox: remove MXS tools from hosttools_defconfig Roland Hieber
  2020-11-07 20:47 ` [PATCH 2/2] mxs: always build mxsimage and mxsboot tools Roland Hieber
@ 2020-11-09  7:49 ` Sascha Hauer
  1 sibling, 0 replies; 3+ messages in thread
From: Sascha Hauer @ 2020-11-09  7:49 UTC (permalink / raw)
  To: Roland Hieber; +Cc: Barebox Mailing List

On Sat, Nov 07, 2020 at 09:47:27PM +0100, Roland Hieber wrote:
> CONFIG_MXS_HOSTTOOLS currently only builds the tools mxsimage and
> mxsboot, which are both only needed to create bootable images for the
> MXS platform, and are not really useful as stand-alone host tools.
> 
> Signed-off-by: Roland Hieber <rhi@pengutronix.de>
> ---
>  arch/sandbox/configs/hosttools_defconfig | 1 -
>  1 file changed, 1 deletion(-)

Applied, thanks

Sascha

> 
> diff --git a/arch/sandbox/configs/hosttools_defconfig b/arch/sandbox/configs/hosttools_defconfig
> index 72ec0fc462b2..7d3385312488 100644
> --- a/arch/sandbox/configs/hosttools_defconfig
> +++ b/arch/sandbox/configs/hosttools_defconfig
> @@ -2,6 +2,5 @@ CONFIG_IMD=y
>  CONFIG_COMPILE_HOST_TOOLS=y
>  CONFIG_ARCH_IMX_USBLOADER=y
>  CONFIG_MVEBU_HOSTTOOLS=y
> -CONFIG_MXS_HOSTTOOLS=y
>  CONFIG_OMAP3_USB_LOADER=y
>  CONFIG_OMAP4_HOSTTOOL_USBBOOT=y
> -- 
> 2.28.0
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-11-09  7:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-07 20:47 [PATCH 1/2] sandbox: remove MXS tools from hosttools_defconfig Roland Hieber
2020-11-07 20:47 ` [PATCH 2/2] mxs: always build mxsimage and mxsboot tools Roland Hieber
2020-11-09  7:49 ` [PATCH 1/2] sandbox: remove MXS tools from hosttools_defconfig Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox