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