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