From 5e83700a7ac021e64c2f90a0ffee3b173d6c12b9 Mon Sep 17 00:00:00 2001 From: Ahmad Fatoum Date: Fri, 17 Sep 2021 19:41:24 +0200 Subject: common: remove !SANDBOX dependency for target tools d4aa01503348 ("common: add dependency !SANDBOX on target tools") and later commits disabled building the target tools with sandbox, because the build failed when they were enabled. This has been fixed since then. Remove the limitation, so target tools can be cross-compiled when using the ARCH=sandbox. Signed-off-by: Ahmad Fatoum Link: https://lore.barebox.org/20210917174127.23345-1-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer --- common/Kconfig | 3 --- 1 file changed, 3 deletions(-) (limited to 'common') diff --git a/common/Kconfig b/common/Kconfig index a9feae2ae8..222a438ee5 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -740,7 +740,6 @@ config IMD_TARGET config KERNEL_INSTALL_TARGET bool - depends on !SANDBOX prompt "Build kernel-install utility for the target" help Enable this to compile the kernel-install script using the cross @@ -983,7 +982,6 @@ config DEFAULT_ENVIRONMENT_PATH config BAREBOXENV_TARGET bool - depends on !SANDBOX prompt "build bareboxenv tool for target" help 'bareboxenv' is a tool to access the barebox environment from a running Linux @@ -992,7 +990,6 @@ config BAREBOXENV_TARGET config BAREBOXCRC32_TARGET bool prompt "build bareboxcrc32 tool for target" - depends on !SANDBOX help 'bareboxcrc32' is a userspacetool to generate the crc32 checksums the same way barebox does. Say yes here to build it for the target. -- cgit v1.2.3 From 067f4cf79fab8848c0dd3e125e71e9c89a1d14d9 Mon Sep 17 00:00:00 2001 From: Ahmad Fatoum Date: Fri, 17 Sep 2021 19:41:25 +0200 Subject: common: add new menu for target tools 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 Signed-off-by: Ahmad Fatoum Link: https://lore.barebox.org/20210917174127.23345-2-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer --- common/Kconfig | 26 -------------------------- scripts/Kconfig | 30 ++++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 26 deletions(-) (limited to 'common') diff --git a/common/Kconfig b/common/Kconfig index 222a438ee5..9dab7532e1 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 b903486ecd..f7ed775fbc 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 -- cgit v1.2.3