summaryrefslogtreecommitdiff
path: root/package/bcm28xx-bootloader
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2024-02-08 09:09:35 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2024-02-08 10:32:15 +0100
commita7cf1dddee0b6c12ccc30d4ccacaebb3a2cc8025 (patch)
tree5ef5147a2d2e79dcc4082a3b600c657893391bcc /package/bcm28xx-bootloader
parent6a3568dc73b086ccf4f1b7fcceff341e8aa5ced2 (diff)
bcm28xx-bootloader: only enable vc4 for kodi
Diffstat (limited to 'package/bcm28xx-bootloader')
-rw-r--r--package/bcm28xx-bootloader/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/bcm28xx-bootloader/Makefile b/package/bcm28xx-bootloader/Makefile
index 1cebf6f93..83a594ad0 100644
--- a/package/bcm28xx-bootloader/Makefile
+++ b/package/bcm28xx-bootloader/Makefile
@@ -6,7 +6,7 @@ include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= bcm28xx-bootloader
# not cloned, local src directory used
PKG_VERSION:= 1e403e23baab5673f0494a200f57cd01287d5b1a
-PKG_RELEASE:= 2
+PKG_RELEASE:= 3
PKG_DESCR:= bootloader for bcm28xx
PKG_SECTION:= base/boot
PKG_URL:= https://github.com/raspberrypi/firmware
@@ -66,6 +66,7 @@ ifeq ($(ADK_PACKAGE_BCM28XX_BOOTLOADER_CUTDOWN),y)
endif
printf "gpu_mem=$(ADK_TARGET_GPU_MEM)\n" >> \
$(IDIR_BCM28XX_BOOTLOADER)/boot/config.txt
+ifeq ($(ADK_PACKAGE_KODI),y)
ifeq ($(ADK_TARGET_SYSTEM_RASPBERRY_PI4)$(ADK_TARGET_SYSTEM_RASPBERRY_PI4_64),y)
printf "dtoverlay=vc4-kms-v3d-pi4\n" >> \
$(IDIR_BCM28XX_BOOTLOADER)/boot/config.txt
@@ -74,6 +75,7 @@ ifeq ($(ADK_TARGET_SYSTEM_RASPBERRY_PI5),y)
printf "dtoverlay=vc4-kms-v3d-pi5\n" >> \
$(IDIR_BCM28XX_BOOTLOADER)/boot/config.txt
endif
+endif
ifneq ($(ADK_TARGET_HARDWARE_HIFIBERRY_AMP),)
printf "dtoverlay=hifiberry-amp\n" >> \
$(IDIR_BCM28XX_BOOTLOADER)/boot/config.txt