0547-ARM-dts-Visit-overlays-subdir-unconditionally.patch 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. From 2e743a4c2f496667937b899770b4329788f0a0a0 Mon Sep 17 00:00:00 2001
  2. From: Phil Elwell <phil@raspberrypi.org>
  3. Date: Fri, 18 Nov 2016 10:52:49 +0000
  4. Subject: [PATCH] ARM: dts: Visit overlays subdir unconditionally
  5. make clean processing occurs without loading the configuration, so the
  6. overlays subdir must be added unconditionally.
  7. See: https://github.com/raspberrypi/linux/issues/1723
  8. ---
  9. arch/arm/boot/dts/Makefile | 5 +----
  10. 1 file changed, 1 insertion(+), 4 deletions(-)
  11. --- a/arch/arm/boot/dts/Makefile
  12. +++ b/arch/arm/boot/dts/Makefile
  13. @@ -18,9 +18,6 @@ endif
  14. ifeq ($(CONFIG_ARCH_BCM2835),y)
  15. RPI_DT_OVERLAYS=y
  16. endif
  17. -ifeq ($(RPI_DT_OVERLAYS),y)
  18. - dts-dirs += overlays
  19. -endif
  20. dtb-$(CONFIG_ARCH_ALPINE) += \
  21. alpine-db.dtb
  22. @@ -809,7 +806,7 @@ dtstree := $(srctree)/$(src)
  23. dtb-$(CONFIG_OF_ALL_DTBS) := $(patsubst $(dtstree)/%.dts,%.dtb, $(wildcard $(dtstree)/*.dts))
  24. always := $(dtb-y)
  25. -subdir-y := $(dts-dirs)
  26. +subdir-y := $(dts-dirs) overlays
  27. clean-files := *.dtb
  28. # Enable fixups to support overlays on BCM2708 platforms