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 David Wronek
parent dc0027c516
commit 395e33d386

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
@ -33,8 +37,6 @@ subdir-y += ti
subdir-y += toshiba
subdir-y += xilinx
dtstree := $(srctree)/$(src)
vendor := $(dtstree)/vendor
ifneq "$(wildcard $(vendor)/Makefile)" ""
else
subdir-y += vendor
endif