xref: /openbmc/linux/arch/arm64/boot/dts/Makefile (revision b2441318)
1# SPDX-License-Identifier: GPL-2.0
2dts-dirs += actions
3dts-dirs += al
4dts-dirs += allwinner
5dts-dirs += altera
6dts-dirs += amd
7dts-dirs += amlogic
8dts-dirs += apm
9dts-dirs += arm
10dts-dirs += broadcom
11dts-dirs += cavium
12dts-dirs += exynos
13dts-dirs += freescale
14dts-dirs += hisilicon
15dts-dirs += marvell
16dts-dirs += mediatek
17dts-dirs += nvidia
18dts-dirs += qcom
19dts-dirs += realtek
20dts-dirs += renesas
21dts-dirs += rockchip
22dts-dirs += socionext
23dts-dirs += sprd
24dts-dirs += xilinx
25dts-dirs += lg
26dts-dirs += zte
27
28subdir-y	:= $(dts-dirs)
29
30dtstree		:= $(srctree)/$(src)
31
32dtb-$(CONFIG_OF_ALL_DTBS) := $(patsubst $(dtstree)/%.dts,%.dtb, $(foreach d,$(dts-dirs), $(wildcard $(dtstree)/$(d)/*.dts)))
33
34always		:= $(dtb-y)
35