1 From 578a2d0ba3874bda5634737cd4184eeaa8749b37 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
6 make clean processing occurs without loading the configuration, so the
7 overlays subdir must be added unconditionally.
9 See: https://github.com/raspberrypi/linux/issues/1723
11 arch/arm/boot/dts/Makefile | 5 +----
12 1 file changed, 1 insertion(+), 4 deletions(-)
14 --- a/arch/arm/boot/dts/Makefile
15 +++ b/arch/arm/boot/dts/Makefile
16 @@ -18,9 +18,6 @@ endif
17 ifeq ($(CONFIG_ARCH_BCM2835),y)
20 -ifeq ($(RPI_DT_OVERLAYS),y)
21 - dts-dirs += overlays
24 dtb-$(CONFIG_ARCH_ALPINE) += \
26 @@ -809,7 +806,7 @@ dtstree := $(srctree)/$(src)
27 dtb-$(CONFIG_OF_ALL_DTBS) := $(patsubst $(dtstree)/%.dts,%.dtb, $(wildcard $(dtstree)/*.dts))
30 -subdir-y := $(dts-dirs)
31 +subdir-y := $(dts-dirs) overlays
34 # Enable fixups to support overlays on BCM2708 platforms