2005-04-16 18:20:36 -04:00
|
|
|
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
|
2006-09-27 01:30:11 -04:00
|
|
|
|
|
|
|
# SH7750-style performance counters exist across 7750/7750S and 7091.
|
|
|
|
profdrvr-$(CONFIG_CPU_SUBTYPE_SH7750S) := op_model_sh7750.o
|
2005-04-16 18:20:36 -04:00
|
|
|
profdrvr-$(CONFIG_CPU_SUBTYPE_SH7750) := op_model_sh7750.o
|
2006-09-27 01:30:11 -04:00
|
|
|
profdrvr-$(CONFIG_CPU_SUBTYPE_SH7091) := op_model_sh7750.o
|
2005-04-16 18:20:36 -04:00
|
|
|
|
|
|
|
oprofile-y := $(DRIVER_OBJS) $(profdrvr-y)
|
|
|
|
|
2007-11-06 03:35:12 -05:00
|
|
|
EXTRA_CFLAGS += -Werror
|