summaryrefslogtreecommitdiffstats
path: root/scripts/Kconfig
blob: a490aaa44ebbe8ac9b1255280b2c1e64eb570514 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
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 usefull for compile coverage testing and for packaging the
	  host tools.

source "scripts/imx/Kconfig"

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.

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.

endmenu