From 33bb29c4f82f7bf10e910b57b570e5877bc44b3b Mon Sep 17 00:00:00 2001 From: Guru Das Srinagesh Date: Thu, 10 Feb 2022 15:57:23 -0800 Subject: [PATCH] dts: Makefile: Compile the vendor directory Add support to compile the device tree files for a target. Change-Id: Ida9289d16c0226ab72418f5df641c3081a38c299 Signed-off-by: Guru Das Srinagesh --- arch/arm64/boot/dts/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/Makefile b/arch/arm64/boot/dts/Makefile index 639e01a4d855..d81a67ada948 100644 --- a/arch/arm64/boot/dts/Makefile +++ b/arch/arm64/boot/dts/Makefile @@ -30,3 +30,9 @@ subdir-y += synaptics subdir-y += ti subdir-y += toshiba subdir-y += xilinx + +dtstree := $(srctree)/$(src) +vendor := $(dtstree)/vendor +ifneq "$(wildcard $(vendor)/Makefile)" "" + subdir-y += vendor +endif