sh: Add SH7785 Highlander board support (R7785RP).
[firefly-linux-kernel-4.4.55.git] / arch / sh / boards / renesas / r7780rp / Makefile
index ed5f5a9a3b3e8c845ae9ecbb42f4323478461260..609e5d50dde83fdadd5e22d6413f85e14c38a8ef 100644 (file)
@@ -1,7 +1,7 @@
 #
 # Makefile for the R7780RP-1 specific parts of the kernel
 #
-
-obj-y   := setup.o irq.o
-
+irqinit-y                      := irq-r7780rp.o
+irqinit-$(CONFIG_SH_R7785RP)   := irq-r7785rp.o
 obj-$(CONFIG_PUSH_SWITCH)      += psw.o
+obj-y                          := setup.o irq.o $(irqinit-y)