blob: b2215c61cdf02a18df71849611007d97cfea4470 [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
Matt Fleming3d90a002010-09-27 20:45:08 +01009ifeq ($(CONFIG_HW_PERF_EVENTS),y)
10DRIVER_OBJS += $(addprefix ../../../drivers/oprofile/, oprofile_perf.o)
11endif
12
Will Deaconfe166142010-04-30 11:37:51 +010013oprofile-y := $(DRIVER_OBJS) common.o