]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - arch/mips/boot/dts/Makefile
mips: enable building of all dtbs
[mirror_ubuntu-bionic-kernel.git] / arch / mips / boot / dts / Makefile
index 778a34028c1b1fb6b67754053e24ea09828eee31..bac7b8dab9a4907db6733da6e66a6a85fe89a92d 100644 (file)
@@ -9,6 +9,9 @@ dts-dirs        += ralink
 
 obj-y          := $(addsuffix /, $(dts-dirs))
 
+dtstree                := $(srctree)/$(src)
+dtb-$(CONFIG_OF_ALL_DTBS) := $(patsubst $(dtstree)/%.dts,%.dtb, $(foreach d,$(dts-dirs), $(wildcard $(dtstree)/$(d)/*.dts)))
+
 always         := $(dtb-y)
 subdir-y       := $(dts-dirs)
 clean-files    := *.dtb *.dtb.S