Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | obj-$(CONFIG_OPROFILE) += oprofile.o |
2 | ||
2e4f17d2 PM |
3 | CFLAGS_common.o += -DUTS_MACHINE='"$(UTS_MACHINE)"' |
4 | ||
1da177e4 LT |
5 | DRIVER_OBJS = $(addprefix ../../../drivers/oprofile/, \ |
6 | oprof.o cpu_buffer.o buffer_sync.o \ | |
7 | event_buffer.o oprofile_files.o \ | |
8 | oprofilefs.o oprofile_stats.o \ | |
9 | timer_int.o ) | |
10 | ||
86c8c047 MF |
11 | ifeq ($(CONFIG_HW_PERF_EVENTS),y) |
12 | DRIVER_OBJS += $(addprefix ../../../drivers/oprofile/, oprofile_perf.o) | |
13 | endif | |
14 | ||
60a51fbe | 15 | oprofile-y := $(DRIVER_OBJS) common.o backtrace.o |