brcm2708: update linux 4.4 patches to latest version
[openwrt/openwrt.git] / target / linux / brcm2708 / patches-4.4 / 0547-ARM-dts-Visit-overlays-subdir-unconditionally.patch
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
6 make clean processing occurs without loading the configuration, so the
7 overlays subdir must be added unconditionally.
8
9 See: https://github.com/raspberrypi/linux/issues/1723
10 ---
11 arch/arm/boot/dts/Makefile | 5 +----
12 1 file changed, 1 insertion(+), 4 deletions(-)
13
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)
18 RPI_DT_OVERLAYS=y
19 endif
20 -ifeq ($(RPI_DT_OVERLAYS),y)
21 - dts-dirs += overlays
22 -endif
23
24 dtb-$(CONFIG_ARCH_ALPINE) += \
25 alpine-db.dtb
26 @@ -809,7 +806,7 @@ dtstree := $(srctree)/$(src)
27 dtb-$(CONFIG_OF_ALL_DTBS) := $(patsubst $(dtstree)/%.dts,%.dtb, $(wildcard $(dtstree)/*.dts))
28
29 always := $(dtb-y)
30 -subdir-y := $(dts-dirs)
31 +subdir-y := $(dts-dirs) overlays
32 clean-files := *.dtb
33
34 # Enable fixups to support overlays on BCM2708 platforms