CRISv32: add device tree support
[firefly-linux-kernel-4.4.55.git] / arch / cris / Makefile
index 39dc7d00083e10d393337a66bb0225052accf0cb..4a5404b3d0e45712c246b93c05ce21da5e732489 100644 (file)
@@ -40,6 +40,10 @@ else
 MACH :=
 endif
 
+ifneq ($(CONFIG_BUILTIN_DTB),"")
+core-$(CONFIG_OF) += arch/cris/boot/dts/
+endif
+
 LD = $(CROSS_COMPILE)ld -mcrislinux
 
 OBJCOPYFLAGS := -O binary -R .note -R .comment -S