xref: /openbmc/linux/arch/mips/boot/dts/Makefile (revision fa0a497b)
1dts-dirs	+= brcm
2dts-dirs	+= cavium-octeon
3dts-dirs	+= ingenic
4dts-dirs	+= lantiq
5dts-dirs	+= mti
6dts-dirs	+= netlogic
7dts-dirs	+= pic32
8dts-dirs	+= qca
9dts-dirs	+= ralink
10dts-dirs	+= xilfpga
11
12obj-y		:= $(addsuffix /, $(dts-dirs))
13
14dtstree		:= $(srctree)/$(src)
15dtb-$(CONFIG_OF_ALL_DTBS) := $(patsubst $(dtstree)/%.dts,%.dtb, $(foreach d,$(dts-dirs), $(wildcard $(dtstree)/$(d)/*.dts)))
16
17always		:= $(dtb-y)
18subdir-y	:= $(dts-dirs)
19clean-files	:= *.dtb *.dtb.S
20