mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-11 13:04:03 +08:00
555ef19630
Update oprofile build rules for additional subtypes, particularly SH7750S/SH7091. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
18 lines
550 B
Makefile
18 lines
550 B
Makefile
obj-$(CONFIG_OPROFILE) += oprofile.o
|
|
|
|
DRIVER_OBJS = $(addprefix ../../../drivers/oprofile/, \
|
|
oprof.o cpu_buffer.o buffer_sync.o \
|
|
event_buffer.o oprofile_files.o \
|
|
oprofilefs.o oprofile_stats.o \
|
|
timer_int.o )
|
|
|
|
profdrvr-y := op_model_null.o
|
|
|
|
# SH7750-style performance counters exist across 7750/7750S and 7091.
|
|
profdrvr-$(CONFIG_CPU_SUBTYPE_SH7750S) := op_model_sh7750.o
|
|
profdrvr-$(CONFIG_CPU_SUBTYPE_SH7750) := op_model_sh7750.o
|
|
profdrvr-$(CONFIG_CPU_SUBTYPE_SH7091) := op_model_sh7750.o
|
|
|
|
oprofile-y := $(DRIVER_OBJS) $(profdrvr-y)
|
|
|