From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Cc: ejo@pengutronix.de, Trent Piepho <trent.piepho@igorinstitute.com>,
Roland Hieber <rhi@pengutronix.de>,
Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [PATCH v2 2/4] common: add new menu for target tools
Date: Fri, 17 Sep 2021 19:41:25 +0200 [thread overview]
Message-ID: <20210917174127.23345-2-a.fatoum@pengutronix.de> (raw)
In-Reply-To: <20210917174127.23345-1-a.fatoum@pengutronix.de>
We have four target tools and will add 3 more in a follow up commit.
Add a new menu to collect them.
Acked-by: Roland Hieber <rhi@pengutronix.de>
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
v1 -> v2:
- no change
---
common/Kconfig | 26 --------------------------
scripts/Kconfig | 30 ++++++++++++++++++++++++++++++
2 files changed, 30 insertions(+), 26 deletions(-)
diff --git a/common/Kconfig b/common/Kconfig
index 222a438ee545..9dab7532e15e 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -734,18 +734,6 @@ config IMD
select CRC32
bool "barebox metadata support"
-config IMD_TARGET
- bool "build bareboximd target tool"
- depends on IMD
-
-config KERNEL_INSTALL_TARGET
- bool
- prompt "Build kernel-install utility for the target"
- help
- Enable this to compile the kernel-install script using the cross
- compiler. The utility for the target will be under
- scripts/kernel-install-target
-
choice
prompt "console support"
default CONSOLE_FULL
@@ -980,20 +968,6 @@ config DEFAULT_ENVIRONMENT_PATH
be taken. Relative paths will be relative to the barebox top-level
directory, but absolute paths are fine as well.
-config BAREBOXENV_TARGET
- bool
- prompt "build bareboxenv tool for target"
- help
- 'bareboxenv' is a tool to access the barebox environment from a running Linux
- system. Say yes here to build it for the target.
-
-config BAREBOXCRC32_TARGET
- bool
- prompt "build bareboxcrc32 tool for target"
- help
- 'bareboxcrc32' is a userspacetool to generate the crc32 checksums the same way
- barebox does. Say yes here to build it for the target.
-
config HAS_SCHED
bool
diff --git a/scripts/Kconfig b/scripts/Kconfig
index b903486ecd8f..f7ed775fbc66 100644
--- a/scripts/Kconfig
+++ b/scripts/Kconfig
@@ -40,3 +40,33 @@ config OMAP4_HOSTTOOL_USBBOOT
You need libusb-1.0 to compile this tool.
endmenu
+
+menu "Target Tools"
+
+config IMD_TARGET
+ bool "build bareboximd target tool"
+ depends on IMD
+
+config KERNEL_INSTALL_TARGET
+ bool
+ prompt "Build kernel-install utility for the target"
+ help
+ Enable this to compile the kernel-install script using the cross
+ compiler. The utility for the target will be under
+ scripts/kernel-install-target
+
+config BAREBOXENV_TARGET
+ bool
+ prompt "build bareboxenv tool for target"
+ help
+ 'bareboxenv' is a tool to access the barebox environment from a running Linux
+ system. Say yes here to build it for the target.
+
+config BAREBOXCRC32_TARGET
+ bool
+ prompt "build bareboxcrc32 tool for target"
+ help
+ 'bareboxcrc32' is a userspacetool to generate the crc32 checksums the same way
+ barebox does. Say yes here to build it for the target.
+
+endmenu
--
2.30.2
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2021-09-17 17:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-17 17:41 [PATCH v2 1/4] common: remove !SANDBOX dependency " Ahmad Fatoum
2021-09-17 17:41 ` Ahmad Fatoum [this message]
2021-09-17 17:41 ` [PATCH v2 3/4] scripts: omap3-usb-loader: make proper use of pkg-config --cflags Ahmad Fatoum
2021-09-17 17:41 ` [PATCH v2 4/4] scripts: allow building USB loader tools for target as well Ahmad Fatoum
2021-10-02 9:13 ` [PATCH v2 1/4] common: remove !SANDBOX dependency for target tools 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=20210917174127.23345-2-a.fatoum@pengutronix.de \
--to=a.fatoum@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=ejo@pengutronix.de \
--cc=rhi@pengutronix.de \
--cc=trent.piepho@igorinstitute.com \
/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