summaryrefslogtreecommitdiffstats
path: root/scripts/Kconfig
blob: 96b0d26f8874471f0f1ef0d64fb495fc9ee6e8bf (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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
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 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 || COMPILE_HOST_TOOLS
	default y if ARCH_ROCKCHIP
	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 S5P_IMAGE
	bool "S5P image tool" if COMPILE_HOST_TOOLS
	depends on ARCH_S5PCxx || COMPILE_HOST_TOOLS
	default y if ARCH_S5PCxx
	help
	  This enables building the image creation tool for S5P 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.

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