aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-11-12 02:20:36 -0500
committerPaul Mundt <lethal@linux-sh.org>2009-11-12 02:20:36 -0500
commitc4e708dc52b0e68d81a322ad11b280374685956e (patch)
treef41a5982c641b4c2604e98c8306af8b289b82438 /arch/sh/kernel
parenta4d9d0b8a8d2a81b3189bd99482aab967ce86120 (diff)
sh: Fix up the CONFIG_PERF_EVENTS=n build for SH-4.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel')
-rw-r--r--arch/sh/kernel/cpu/sh4/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/arch/sh/kernel/cpu/sh4/Makefile b/arch/sh/kernel/cpu/sh4/Makefile
index c39c1235db91..3a1dbc709831 100644
--- a/arch/sh/kernel/cpu/sh4/Makefile
+++ b/arch/sh/kernel/cpu/sh4/Makefile
@@ -10,9 +10,9 @@ obj-$(CONFIG_SH_FPU) += fpu.o softfloat.o
10obj-$(CONFIG_SH_STORE_QUEUES) += sq.o 10obj-$(CONFIG_SH_STORE_QUEUES) += sq.o
11 11
12# Perf events 12# Perf events
13obj-$(CONFIG_CPU_SUBTYPE_SH7750) += perf_event.o 13perf-$(CONFIG_CPU_SUBTYPE_SH7750) := perf_event.o
14obj-$(CONFIG_CPU_SUBTYPE_SH7750S) += perf_event.o 14perf-$(CONFIG_CPU_SUBTYPE_SH7750S) := perf_event.o
15obj-$(CONFIG_CPU_SUBTYPE_SH7091) += perf_event.o 15perf-$(CONFIG_CPU_SUBTYPE_SH7091) := perf_event.o
16 16
17# CPU subtype setup 17# CPU subtype setup
18obj-$(CONFIG_CPU_SUBTYPE_SH7750) += setup-sh7750.o 18obj-$(CONFIG_CPU_SUBTYPE_SH7750) += setup-sh7750.o
@@ -32,4 +32,5 @@ endif
32# Additional clocks by subtype 32# Additional clocks by subtype
33clock-$(CONFIG_CPU_SUBTYPE_SH4_202) += clock-sh4-202.o 33clock-$(CONFIG_CPU_SUBTYPE_SH4_202) += clock-sh4-202.o
34 34
35obj-y += $(clock-y) 35obj-y += $(clock-y)
36obj-$(CONFIG_PERF_EVENTS) += $(perf-y)