summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-04-03 14:43:01 -0500
committerWaldemar Brodkorb <wbx@openadk.org>2015-04-04 08:06:29 -0500
commit50b63e95fece76e2d247d5c830bb680a6370c455 (patch)
tree3e10446c33a4f9280eee1f61f7cee9481b6f178c
parent9782b12250acd9ecacf831649d5d4f8fdaca91d8 (diff)
gpu_mem only for rpi
-rw-r--r--package/bcm28xx-bootloader/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/bcm28xx-bootloader/Makefile b/package/bcm28xx-bootloader/Makefile
index f9623bb48..d1bd3de2b 100644
--- a/package/bcm28xx-bootloader/Makefile
+++ b/package/bcm28xx-bootloader/Makefile
@@ -63,8 +63,10 @@ ifeq ($(ADK_PACKAGE_BCM28XX_BOOTLOADER_CUTDOWN),y)
printf "start_file=start_cd.elf\n" >> $(IDIR_BCM28XX_BOOTLOADER)/boot/config.txt
printf "fixup_file=fixup_cd.dat\n" >> $(IDIR_BCM28XX_BOOTLOADER)/boot/config.txt
endif
+ifeq ($(ADK_TARGET_SYSTEM_RASPBERRRY_PI),y)
printf "gpu_mem=$(ADK_TARGET_GPU_MEM)\n" >> \
$(IDIR_BCM28XX_BOOTLOADER)/boot/config.txt
+endif
ifeq ($(ADK_KERNEL_BCM2709_DT),y)
printf "device_tree=bcm2709-rpi-2-b.dtb\n" >> \
$(IDIR_BCM28XX_BOOTLOADER)/boot/config.txt