Skip to content

Commit

Permalink
sh: Fix up the CONFIG_PERF_EVENTS=n build for SH-4.
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Paul Mundt committed Nov 12, 2009
1 parent a4d9d0b commit c4e708d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions arch/sh/kernel/cpu/sh4/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ obj-$(CONFIG_SH_FPU) += fpu.o softfloat.o
obj-$(CONFIG_SH_STORE_QUEUES) += sq.o

# Perf events
obj-$(CONFIG_CPU_SUBTYPE_SH7750) += perf_event.o
obj-$(CONFIG_CPU_SUBTYPE_SH7750S) += perf_event.o
obj-$(CONFIG_CPU_SUBTYPE_SH7091) += perf_event.o
perf-$(CONFIG_CPU_SUBTYPE_SH7750) := perf_event.o
perf-$(CONFIG_CPU_SUBTYPE_SH7750S) := perf_event.o
perf-$(CONFIG_CPU_SUBTYPE_SH7091) := perf_event.o

# CPU subtype setup
obj-$(CONFIG_CPU_SUBTYPE_SH7750) += setup-sh7750.o
Expand All @@ -32,4 +32,5 @@ endif
# Additional clocks by subtype
clock-$(CONFIG_CPU_SUBTYPE_SH4_202) += clock-sh4-202.o

obj-y += $(clock-y)
obj-y += $(clock-y)
obj-$(CONFIG_PERF_EVENTS) += $(perf-y)

0 comments on commit c4e708d

Please sign in to comment.