brcm2708: update linux 4.4 patches to latest version
[openwrt/openwrt.git] / target / linux / brcm2708 / patches-4.4 / 0551-ARM-dts-Restore-dtbs_install-functionality.patch
1 From 49b92b33aa6681e75f579b7369f34a53e9376e6c Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.org>
3 Date: Sat, 26 Nov 2016 14:01:52 +0000
4 Subject: [PATCH] ARM: dts: Restore dtbs_install functionality
5
6 Signed-off-by: Phil Elwell <phil@raspberrypi.org>
7 ---
8 arch/arm/boot/dts/Makefile | 3 ++-
9 1 file changed, 2 insertions(+), 1 deletion(-)
10
11 --- a/arch/arm/boot/dts/Makefile
12 +++ b/arch/arm/boot/dts/Makefile
13 @@ -806,10 +806,11 @@ dtstree := $(srctree)/$(src)
14 dtb-$(CONFIG_OF_ALL_DTBS) := $(patsubst $(dtstree)/%.dts,%.dtb, $(wildcard $(dtstree)/*.dts))
15
16 always := $(dtb-y)
17 -subdir-y := $(dts-dirs) overlays
18 +subdir-y := overlays
19 clean-files := *.dtb
20
21 # Enable fixups to support overlays on BCM2708 platforms
22 ifeq ($(RPI_DT_OVERLAYS),y)
23 DTC_FLAGS ?= -@ -H epapr
24 + dts-dirs += overlays
25 endif