summaryrefslogtreecommitdiff
path: root/arch/cris/Makefile
diff options
context:
space:
mode:
authorRabin Vincent <rabin@rab.in>2015-02-08 18:14:06 +0300
committerJesper Nilsson <jespern@axis.com>2015-03-25 11:49:48 +0300
commita9f75ac5a24cb94c2373daa3d73f90d22cf5d94b (patch)
treeb445b1d3aae563e8465e639edf05b782ac50f1d9 /arch/cris/Makefile
parent43f7071e107ede92ac9e499d218233c8bb4c3607 (diff)
downloadlinux-a9f75ac5a24cb94c2373daa3d73f90d22cf5d94b.tar.xz
CRISv32: add device tree support
Add support for booting CRISv32 with a built-in device tree. Signed-off-by: Rabin Vincent <rabin@rab.in> Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
Diffstat (limited to 'arch/cris/Makefile')
-rw-r--r--arch/cris/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/cris/Makefile b/arch/cris/Makefile
index 39dc7d00083e..4a5404b3d0e4 100644
--- a/arch/cris/Makefile
+++ b/arch/cris/Makefile
@@ -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