Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | obj-$(CONFIG_OPROFILE) += oprofile.o |
| 2 | |
| 3 | DRIVER_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 | |
| 9 | profdrvr-y := op_model_null.o |
Paul Mundt | 555ef19 | 2006-09-27 14:30:11 +0900 | [diff] [blame^] | 10 | |
| 11 | # SH7750-style performance counters exist across 7750/7750S and 7091. |
| 12 | profdrvr-$(CONFIG_CPU_SUBTYPE_SH7750S) := op_model_sh7750.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 13 | profdrvr-$(CONFIG_CPU_SUBTYPE_SH7750) := op_model_sh7750.o |
Paul Mundt | 555ef19 | 2006-09-27 14:30:11 +0900 | [diff] [blame^] | 14 | profdrvr-$(CONFIG_CPU_SUBTYPE_SH7091) := op_model_sh7750.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 15 | |
| 16 | oprofile-y := $(DRIVER_OBJS) $(profdrvr-y) |
| 17 | |