aboutsummaryrefslogtreecommitdiff
path: root/package/rpi-firmware/Config.in
diff options
context:
space:
mode:
authorGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2020-05-16 16:02:20 +0200
committerGravatar Yann E. MORIN <yann.morin.1998@free.fr>2020-05-16 21:39:52 +0200
commit9fd1d4fec1c88f9f3f4e41f9b6dc8a740538217b (patch)
tree7f5e509299785b2745f489baa362e812330b5e6c /package/rpi-firmware/Config.in
parent7dccd3b24805dc39c014c7c9e86e10eca2147fff (diff)
downloadbuildroot-9fd1d4fec1c88f9f3f4e41f9b6dc8a740538217b.tar.gz
buildroot-9fd1d4fec1c88f9f3f4e41f9b6dc8a740538217b.tar.bz2
package/rpi-firmware: select BR2_LINUX_KERNEL_DTB_OVERLAY_SUPPORT when needed
When BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTB_OVERLAYS is enabled, and the DTBs are built by Linux (i.e BR2_LINUX_KERNEL_DTS_SUPPORT is enabled), these DTBs should be built with the -@ Device Tree compiler option, so that they can be used together with DTB overlays. So let's select BR2_LINUX_KERNEL_DTB_OVERLAY_SUPPORT in this situation. Fixes: https://bugs.busybox.net/show_bug.cgi?id=12831 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Diffstat (limited to 'package/rpi-firmware/Config.in')
-rw-r--r--package/rpi-firmware/Config.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/rpi-firmware/Config.in b/package/rpi-firmware/Config.in
index 7cebc5e7ca..cced53f017 100644
--- a/package/rpi-firmware/Config.in
+++ b/package/rpi-firmware/Config.in
@@ -85,6 +85,8 @@ config BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTB_OVERLAYS
default y
depends on BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTBS \
|| BR2_LINUX_KERNEL_DTS_SUPPORT
+ select BR2_LINUX_KERNEL_DTB_OVERLAY_SUPPORT \
+ if BR2_LINUX_KERNEL_DTS_SUPPORT
help
Say 'y' here if you need to load one or more of the DTB
overlays, to support HATs (Hardware Attached on Top, add-on