From: Roland Hieber <rhi@pengutronix.de>
To: Barebox Mailing List <barebox@lists.infradead.org>
Cc: Roland Hieber <rhi@pengutronix.de>
Subject: [PATCH 2/2] mxs: always build mxsimage and mxsboot tools
Date: Sat, 7 Nov 2020 21:47:28 +0100 [thread overview]
Message-ID: <20201107204728.1900-2-rhi@pengutronix.de> (raw)
In-Reply-To: <20201107204728.1900-1-rhi@pengutronix.de>
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
next prev parent reply other threads:[~2020-11-07 20:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-07 20:47 [PATCH 1/2] sandbox: remove MXS tools from hosttools_defconfig Roland Hieber
2020-11-07 20:47 ` Roland Hieber [this message]
2020-11-09 7:49 ` Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201107204728.1900-2-rhi@pengutronix.de \
--to=rhi@pengutronix.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox