blob: 3473de751b03b7d033bb9dca3407e94b8edec2be [file] [log] [blame]
matt mooney8a362cd2011-01-11 22:09:09 -05001ccflags-y := -Werror -Wno-sign-compare
Linus Torvalds1da177e2005-04-16 15:20:36 -07002
3obj-$(CONFIG_OPROFILE) += oprofile.o
4
5DRIVER_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
11oprofile-y := $(DRIVER_OBJS) common.o
12oprofile-$(CONFIG_ALPHA_GENERIC) += op_model_ev4.o \
13 op_model_ev5.o \
14 op_model_ev6.o \
15 op_model_ev67.o
16oprofile-$(CONFIG_ALPHA_EV4) += op_model_ev4.o
17oprofile-$(CONFIG_ALPHA_EV5) += op_model_ev5.o
18oprofile-$(CONFIG_ALPHA_EV6) += op_model_ev6.o \
19 op_model_ev67.o