# SPDX-License-Identifier: GPL-2.0-only menu "Host Tools" config COMPILE_HOST_TOOLS bool "Allow to enable unused host tools" help Usually the needed host tools are selected (or selectable) depending on some config options. If you say yes here, the host tools that are not needed can be selected, too. This is useful for compile coverage testing and for packaging the host tools. source "scripts/imx/Kconfig" config SOCFPGA_MKIMAGE bool "SoCFPGA mkimage" if COMPILE_HOST_TOOLS depends on ARCH_SOCFPGA || COMPILE_HOST_TOOLS default y if ARCH_SOCFPGA help This enables building the image creation tool for SoCFPGA config ZYNQ_MKIMAGE bool "Zynq mkimage" if COMPILE_HOST_TOOLS depends on ARCH_ZYNQ || COMPILE_HOST_TOOLS default y if ARCH_ZYNQ help This enables building the image creation tool for Zynq config IMX9_IMAGE bool "imx9image" depends on ARCH_IMX93 || COMPILE_HOST_TOOLS default y if ARCH_IMX93 help This enables building the image tool for NXP i.MX9 SoCs config MXS_HOSTTOOLS bool "MXS host tools" if COMPILE_HOST_TOOLS depends on ARCH_MXS || COMPILE_HOST_TOOLS default y if ARCH_MXS help This enables building the host tools for Freescale MXS SoCs config LAYERSCAPE_PBLIMAGE bool "Layerscape PBL image tool" if COMPILE_HOST_TOOLS depends on ARCH_LAYERSCAPE || COMPILE_HOST_TOOLS default y if ARCH_LAYERSCAPE help This enables building the PBL image tool for Freescale Layerscape SoCs config STM32_IMAGE bool "STM32MP image tool" if COMPILE_HOST_TOOLS depends on ARCH_STM32MP || COMPILE_HOST_TOOLS default y if ARCH_STM32MP help This enables building the image creation tool for STM32MP SoCs config RK_IMAGE bool "Rockchip image tool" if COMPILE_HOST_TOOLS depends on ARCH_ROCKCHIP_V8 || COMPILE_HOST_TOOLS default y if ARCH_ROCKCHIP_V8 help This enables building the image creation tool for Rockchip SoCs config OMAP_IMAGE bool "TI OMAP image tools" if COMPILE_HOST_TOOLS depends on ARCH_OMAP || COMPILE_HOST_TOOLS default y if ARCH_OMAP help This enables building the image creation tools for TI OMAP SoCs config DAVINCI_IMAGE bool "Davinci image tool" if COMPILE_HOST_TOOLS depends on ARCH_DAVINCI || COMPILE_HOST_TOOLS default y if ARCH_DAVINCI help This enables building the image creation tool for Davinci SoCs config MVEBU_HOSTTOOLS bool "mvebu hosttools" if COMPILE_HOST_TOOLS depends on ARCH_MVEBU || COMPILE_HOST_TOOLS default y if ARCH_MVEBU help This enables building the tools kwbimage to create an image suitable for Marvell mvebu machines and kwboot to boot via UART. config OMAP3_USB_LOADER bool "omap3 USB loader" depends on ARCH_OMAP3 || COMPILE_HOST_TOOLS help Say Y here to build the omap3 usb loader tool. You need libusb-1.0 to compile this tool. config OMAP4_HOSTTOOL_USBBOOT bool "omap4 usbboot" depends on (ARCH_OMAP4 && !MMU) || COMPILE_HOST_TOOLS default y if OMAP4_USBBOOT help Say Y here to build the omap4 usb loader tool. Note that you need to enable OMAP4_USBBOOT to create an image suitable to boot using this tool. You need libusb-1.0 to compile this tool. config RK_USB_LOADER bool "Rockchip USB loader" depends on ARCH_ROCKCHIP || COMPILE_HOST_TOOLS help Say Y here to build the rockchip usb loader tool. You need libusb-1.0 to compile this tool. config QOICONV bool "QOI image format conversion" if COMPILE_HOST_TOOLS help This enable converting png to qoi images to generate boot logo. config RSATOC bool "RSA to C converter" if COMPILE_HOST_TOOLS help This utility converts RSA keys in PEM format to either C or device tree snippets. This requires OpenSSL on the build host and will be selected by the build system if required. 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. config HAS_TARGET_LIBUSB_1_0 def_bool $(success,$(CROSS_PKG_CONFIG) --exists libusb-1.0) help Ensure $(CROSS_PKG_CONFIG) is set to a valid pkg-config binary that knows about libusb-1.0 compiled for the target architecture. config MVEBU_KWBOOT_TARGET bool "kwboot target tool" help Say Y here to build the kwboot tool for the target to bootstrap over UART. config ARCH_IMX_USBLOADER_TARGET depends on HAS_TARGET_LIBUSB_1_0 bool "imx-usb-loader for target" help Say Y here to build the imx-usb-loader tool for the target. The cross toolchain needs libusb-1.0 to compile this tool. config OMAP3_USB_LOADER_TARGET bool "omap3 USB loader for target" depends on HAS_TARGET_LIBUSB_1_0 help Say Y here to build the omap3 usb loader tool for the target. The cross toolchain needs libusb-1.0 to compile this tool. config OMAP4_USBBOOT_TARGET bool "omap4 usbboot for target" depends on HAS_TARGET_LIBUSB_1_0 help Say Y here to build the omap4 usb loader tool for the target. The cross toolchain needs libusb-1.0 to compile this tool. config RK_USB_LOADER_TARGET bool "Rockchip USB loader for target" depends on HAS_TARGET_LIBUSB_1_0 help Say Y here to build the rockchip usb loader tool for the target. The cross toolchain needs libusb-1.0 to compile this tool. endmenu