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