sh: Disable psw support for R7785RP.
authorPaul Mundt <lethal@linux-sh.org>
Mon, 14 May 2007 03:48:09 +0000 (12:48 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 21 May 2007 05:33:17 +0000 (14:33 +0900)
While R7780RP and R7780MP support this, R7785RP does not.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/boards/renesas/r7780rp/Makefile

index 5255610d4e72aeaba4cd6948a1c61e3716c0e173..b1d20afb4eb3b6d4f3de512e13b62cf40d51851a 100644 (file)
@@ -3,5 +3,8 @@
 #
 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 $(irqinit-y)
+
+ifneq ($(CONFIG_SH_R7785RP),y)
 obj-$(CONFIG_PUSH_SWITCH)      += psw.o
+endif