Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[cascardo/linux.git] / arch / mips / Makefile
index bbac51e..23cb948 100644 (file)
@@ -333,6 +333,16 @@ endif
 
 CLEAN_FILES += vmlinux.32 vmlinux.64
 
+# device-trees
+core-$(CONFIG_BUILTIN_DTB) += arch/mips/boot/dts/
+
+%.dtb %.dtb.S %.dtb.o: | scripts
+       $(Q)$(MAKE) $(build)=arch/mips/boot/dts arch/mips/boot/dts/$@
+
+PHONY += dtbs
+dtbs: scripts
+       $(Q)$(MAKE) $(build)=arch/mips/boot/dts dtbs
+
 archprepare:
 ifdef CONFIG_MIPS32_N32
        @echo '  Checking missing-syscalls for N32'
@@ -367,6 +377,7 @@ define archhelp
        echo '  vmlinuz.srec         - SREC zboot image'
        echo '  uImage               - U-Boot image'
        echo '  uImage.gz            - U-Boot image (gzip)'
+       echo '  dtbs                 - Device-tree blobs for enabled boards'
        echo
        echo '  These will be default as appropriate for a configured platform.'
 endef