From c535b83b5122bbc9c4a8662ff040cbdc0e57f0a7 Mon Sep 17 00:00:00 2001 From: Raghavendra Rao Ananta Date: Fri, 31 May 2019 13:24:37 -0700 Subject: [PATCH] ARM: dts: qcom: Add vendor directory to the Makefile Add vendor directory to the devicetree makefile. This directory will be included in the compilation only if it's present. Change-Id: Ib644d00fd61469afa2311d214866607b78220f71 Signed-off-by: Venkata Narendra Kumar Gutta Signed-off-by: Raghavendra Rao Ananta --- 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 f19b762c008d..2de6d07c89ca 100644 --- a/arch/arm64/boot/dts/Makefile +++ b/arch/arm64/boot/dts/Makefile @@ -28,3 +28,9 @@ subdir-y += synaptics subdir-y += ti subdir-y += xilinx subdir-y += zte + +dtstree := $(srctree)/$(src) +vendor := $(dtstree)/vendor +ifneq "$(wildcard $(vendor)/Makefile)" "" + subdir-y += vendor +endif