Skip to content

Commit 7bb0369

Browse files
committed
Merge pull request #1134 from dlech/dtb-dirs
BCM270X_DT: Use dtb-dirs feature for overlays
2 parents c3b7d53 + 09a9612 commit 7bb0369

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

arch/arm/boot/dts/Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ endif
1515
ifeq ($(CONFIG_ARCH_BCM2835),y)
1616
RPI_DT_OVERLAYS=y
1717
endif
18+
ifeq ($(RPI_DT_OVERLAYS),y)
19+
dts-dirs += overlays
20+
endif
1821

1922
dtb-$(CONFIG_ARCH_ALPINE) += \
2023
alpine-db.dtb
@@ -683,11 +686,10 @@ targets += $(dtb-y)
683686
endif
684687

685688
always := $(dtb-y)
689+
subdir-y := $(dts-dirs)
686690
clean-files := *.dtb
687691

688692
# Enable fixups to support overlays on BCM2708 platforms
689693
ifeq ($(RPI_DT_OVERLAYS),y)
690694
DTC_FLAGS ?= -@
691695
endif
692-
693-
subdir-y += overlays

0 commit comments

Comments
 (0)