- patches.apparmor/remove_suid_new_case_in_2.6.22.diff: Merge fix.
[linux-flexiantxendom0-3.2.10.git] / arch / sh / boards / renesas / r7780rp / Makefile
index ed5f5a9..b1d20af 100644 (file)
@@ -1,7 +1,10 @@
 #
 # Makefile for the R7780RP-1 specific parts of the kernel
 #
+irqinit-y                      := irq-r7780rp.o
+irqinit-$(CONFIG_SH_R7785RP)   := irq-r7785rp.o
+obj-y                          := setup.o irq.o $(irqinit-y)
 
-obj-y   := setup.o irq.o
-
+ifneq ($(CONFIG_SH_R7785RP),y)
 obj-$(CONFIG_PUSH_SWITCH)      += psw.o
+endif