blob: 2efc2e79fd297019e7f207175fba437e668b7852 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001obj-$(CONFIG_OPROFILE) += oprofile.o
2
3DRIVER_OBJS = $(addprefix ../../../drivers/oprofile/, \
4 oprof.o cpu_buffer.o buffer_sync.o \
5 event_buffer.o oprofile_files.o \
6 oprofilefs.o oprofile_stats.o \
7 timer_int.o )
8
9profdrvr-y := op_model_null.o
Paul Mundt555ef192006-09-27 14:30:11 +090010
11# SH7750-style performance counters exist across 7750/7750S and 7091.
12profdrvr-$(CONFIG_CPU_SUBTYPE_SH7750S) := op_model_sh7750.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070013profdrvr-$(CONFIG_CPU_SUBTYPE_SH7750) := op_model_sh7750.o
Paul Mundt555ef192006-09-27 14:30:11 +090014profdrvr-$(CONFIG_CPU_SUBTYPE_SH7091) := op_model_sh7750.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070015
16oprofile-y := $(DRIVER_OBJS) $(profdrvr-y)
17
Paul Mundt98366c22007-11-06 17:35:12 +090018EXTRA_CFLAGS += -Werror