aboutsummaryrefslogtreecommitdiff
path: root/arch/sh/boards/renesas/r7780rp/Makefile
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-05-14 12:48:09 +0900
committerPaul Mundt <lethal@linux-sh.org>2007-05-21 14:33:17 +0900
commit9af9a413d21f7a113f4fd909fb9962fea36b6cfa (patch)
treead7bc847386edbd5e84999c4355b8d21317f1a2d /arch/sh/boards/renesas/r7780rp/Makefile
parent0d08b5fb37835988952d190b4540a71d60a4d198 (diff)
sh: Disable psw support for R7785RP.
While R7780RP and R7780MP support this, R7785RP does not. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/boards/renesas/r7780rp/Makefile')
-rw-r--r--arch/sh/boards/renesas/r7780rp/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/sh/boards/renesas/r7780rp/Makefile b/arch/sh/boards/renesas/r7780rp/Makefile
index 5255610d4e7..b1d20afb4eb 100644
--- a/arch/sh/boards/renesas/r7780rp/Makefile
+++ b/arch/sh/boards/renesas/r7780rp/Makefile
@@ -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