python: make hashlib and readline modules really optional
[buildroot-gz.git] / package / rpi-firmware / Config.in
blobc2983aa84ea127b6582f1ec937d2d0c200e5784d
1 config BR2_PACKAGE_RPI_FIRMWARE
2         bool "rpi-firmware"
3         depends on BR2_arm
4         help
5           RaspberryPi Firmware
6           Pre-compiled binaries of the current bootloader and GPU firmware
8           https://github.com/raspberrypi/firmware
10 if BR2_PACKAGE_RPI_FIRMWARE
12 choice
13         bool "Firmware to boot"
14         default BR2_PACKAGE_RPI_FIRMWARE_DEFAULT
15         help
16           There are three different firmware files:
17             - the default firmware, that enables standard GPU features;
18             - the extended firmware, that enables additional GPU features
19               (eg. more audio/video codecs);
20             - the cut-down firmware, for emergency situations, with only
21               features required to boot a Linux kernel.
23 config BR2_PACKAGE_RPI_FIRMWARE_DEFAULT
24         bool "default"
25         help
26           The default firmware, that enables standard GPU features.
28 config BR2_PACKAGE_RPI_FIRMWARE_X
29         bool "extended ('x', more codecs)"
30         help
31           The extended firmware, that enables additional GPU features
32           (eg. more audio/video codecs).
34 config BR2_PACKAGE_RPI_FIRMWARE_CD
35         bool "cut-down ('cd', emergency)"
36         help
37           The cut-down firmware, for emergency situations, with only
38           features required to boot a Linux kernel.
40 endchoice
42 config BR2_PACKAGE_RPI_FIRMWARE_BOOT
43         string
44         default ""      if BR2_PACKAGE_RPI_FIRMWARE_DEFAULT
45         default "_x"    if BR2_PACKAGE_RPI_FIRMWARE_X
46         default "_cd"   if BR2_PACKAGE_RPI_FIRMWARE_CD
48 config BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTBS
49         bool "Install Device Tree Blobs (DTBs)"
50         depends on !BR2_LINUX_KERNEL_DTS_SUPPORT
51         default y
52         help
53           If you are using a Linux kernel <= 3.18, you should say 'y' here.
55           If you are using a Linux kernel >= 3.19, you should say 'n' here,
56           and enable BR2_LINUX_KERNEL_DTS_SUPPORT to let the kernel build
57           the DTB.
59 config BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTB_OVERLAYS
60         bool "Install DTB overlays"
61         depends on BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTBS \
62                 || BR2_LINUX_KERNEL_DTS_SUPPORT
63         default y
64         help
65           Say 'y' here if you need to load one or more of the DTB overlays,
66           to support HATs (Hardware Attached on Top, add-on modules).
68 config BR2_PACKAGE_RPI_FIRMWARE_INSTALL_VCDBG
69         bool "vcdbg"
70         depends on BR2_TOOLCHAIN_USES_GLIBC
71         depends on BR2_INSTALL_LIBSTDCPP # rpi-userland
72         select BR2_PACKAGE_RPI_USERLAND
73         help
74           Install vcdbg, to help debug communication with the GPU.
76 comment "vcdbg needs a glibc toolchain w/ C++"
77         depends on !BR2_TOOLCHAIN_USES_GLIBC || !BR2_INSTALL_LIBSTDCPP
79 endif # BR2_PACKAGE_RPI_FIRMWARE