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 | |
Matt Fleming | 3d90a00 | 2010-09-27 20:45:08 +0100 | [diff] [blame^] | 9 | ifeq ($(CONFIG_HW_PERF_EVENTS),y) |
| 10 | DRIVER_OBJS += $(addprefix ../../../drivers/oprofile/, oprofile_perf.o) |
| 11 | endif |
| 12 | |
Will Deacon | fe16614 | 2010-04-30 11:37:51 +0100 | [diff] [blame] | 13 | oprofile-y := $(DRIVER_OBJS) common.o |