arch: arm64: dts: Exclude standard dts if vendor dts exists

Change-Id: I11f68b27a45fa02861bd5b6526bf49664bfccfb8
This commit is contained in:
Cosmin Tanislav 2023-01-08 21:04:44 +02:00 committed by j7b3y
parent bb19a0d785
commit 864db27d2a

View File

@ -1,4 +1,8 @@
# SPDX-License-Identifier: GPL-2.0
dtstree := $(srctree)/$(src)
vendor := $(dtstree)/vendor
ifeq "$(wildcard $(vendor)/Makefile)" ""
subdir-y += actions
subdir-y += allwinner
subdir-y += altera
@ -34,8 +38,6 @@ subdir-y += toshiba
subdir-y += xilinx
subdir-y += samsung
dtstree := $(srctree)/$(src)
vendor := $(dtstree)/vendor
ifneq "$(wildcard $(vendor)/Makefile)" ""
else
subdir-y += vendor
endif