2fe4b16d6df2e47dde867cb4e96be1daf44874da
[openwrt/openwrt.git] / target / linux / brcm2708 / patches-4.4 / 0553-ARM-dts-Restore-dtbs_install-functionality.patch
1 From 192835cf562bf63050f3f4b3dab768f3481eb93d 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 diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
12 index cbfc8ba..14a491c 100644
13 --- a/arch/arm/boot/dts/Makefile
14 +++ b/arch/arm/boot/dts/Makefile
15 @@ -806,10 +806,11 @@ dtstree := $(srctree)/$(src)
16 dtb-$(CONFIG_OF_ALL_DTBS) := $(patsubst $(dtstree)/%.dts,%.dtb, $(wildcard $(dtstree)/*.dts))
17
18 always := $(dtb-y)
19 -subdir-y := $(dts-dirs) overlays
20 +subdir-y := overlays
21 clean-files := *.dtb
22
23 # Enable fixups to support overlays on BCM2708 platforms
24 ifeq ($(RPI_DT_OVERLAYS),y)
25 DTC_FLAGS ?= -@ -H epapr
26 + dts-dirs += overlays
27 endif
28 --
29 2.1.4
30