arm64: dts: Exclude standard dts if vendor dts exists

Change-Id: I11f68b27a45fa02861bd5b6526bf49664bfccfb8
This commit is contained in:
Sebastiano Barezzi 2021-05-18 09:39:47 +02:00 committed by Michael Bestas
parent b679cc56aa
commit f5e1cd9a11
No known key found for this signature in database
GPG Key ID: CC95044519BE6669

View File

@ -1,4 +1,9 @@
# SPDX-License-Identifier: GPL-2.0
dtstree := $(srctree)/$(src)
vendor := $(dtstree)/vendor
ifneq "$(wildcard $(vendor)/Makefile)" ""
subdir-y += vendor
else
subdir-y += actions
subdir-y += al
subdir-y += allwinner
@ -28,9 +33,4 @@ 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