0076-BCM2708_DT-Build-the-overlays-as-well.patch 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. From 672e48427ca17fadd59d294eec56476dd6a75398 Mon Sep 17 00:00:00 2001
  2. From: Phil Elwell <phil@raspberrypi.org>
  3. Date: Fri, 23 Jan 2015 15:18:03 +0000
  4. Subject: [PATCH 076/114] BCM2708_DT: Build the overlays as well
  5. ---
  6. arch/arm/boot/dts/Makefile | 13 +++++++++++++
  7. 1 file changed, 13 insertions(+)
  8. --- a/arch/arm/boot/dts/Makefile
  9. +++ b/arch/arm/boot/dts/Makefile
  10. @@ -55,6 +55,14 @@ dtb-$(CONFIG_ARCH_ATLAS6) += atlas6-evb.
  11. dtb-$(CONFIG_ARCH_AXXIA) += axm5516-amarillo.dtb
  12. dtb-$(CONFIG_BCM2708_DT) += bcm2708-rpi-b.dtb
  13. dtb-$(CONFIG_BCM2708_DT) += bcm2708-rpi-b-plus.dtb
  14. +dtb-$(CONFIG_BCM2708_DT) += hifiberry-dac-overlay.dtb
  15. +dtb-$(CONFIG_BCM2708_DT) += hifiberry-dacplus-overlay.dtb
  16. +dtb-$(CONFIG_BCM2708_DT) += hifiberry-digi-overlay.dtb
  17. +dtb-$(CONFIG_BCM2708_DT) += iqaudio-dac-overlay.dtb
  18. +dtb-$(CONFIG_BCM2708_DT) += iqaudio-dacplus-overlay.dtb
  19. +dtb-$(CONFIG_BCM2708_DT) += lirc-rpi-overlay.dtb
  20. +dtb-$(CONFIG_BCM2708_DT) += w1-gpio-overlay.dtb
  21. +dtb-$(CONFIG_BCM2708_DT) += w1-gpio-pullup-overlay.dtb
  22. dtb-$(CONFIG_ARCH_BCM2835) += bcm2835-rpi-b.dtb
  23. dtb-$(CONFIG_ARCH_BCM_5301X) += bcm4708-netgear-r6250.dtb
  24. dtb-$(CONFIG_ARCH_BCM_63XX) += bcm963138dvt.dtb
  25. @@ -524,6 +532,11 @@ targets += $(dtb-y)
  26. endif
  27. +# Enable fixups to support overlays on BCM2708 platforms
  28. +ifeq ($(CONFIG_BCM2708_DT),y)
  29. + DTC_FLAGS ?= -@
  30. +endif
  31. +
  32. # *.dtb used to be generated in the directory above. Clean out the
  33. # old build results so people don't accidentally use them.
  34. dtbs: $(addprefix $(obj)/, $(dtb-y))