blob: 0b5df9c96ae0a4d1560724e4ddf9d7ca2d1b1f37 [file] [log] [blame]
Anton Blanchard8555a002006-06-10 20:23:54 +10001ifeq ($(CONFIG_PPC64),y)
2EXTRA_CFLAGS += -mno-minimal-toc
3endif
4
Stephen Rothwelld9e5b832005-09-19 23:15:51 +10005obj-$(CONFIG_OPROFILE) += oprofile.o
6
7DRIVER_OBJS := $(addprefix ../../../drivers/oprofile/, \
8 oprof.o cpu_buffer.o buffer_sync.o \
9 event_buffer.o oprofile_files.o \
10 oprofilefs.o oprofile_stats.o \
11 timer_int.o )
12
Brian Rogan6c6bd752006-03-27 11:57:01 +110013oprofile-y := $(DRIVER_OBJS) common.o backtrace.o
Stephen Rothwelld9e5b832005-09-19 23:15:51 +100014oprofile-$(CONFIG_PPC64) += op_model_rs64.o op_model_power4.o
15oprofile-$(CONFIG_FSL_BOOKE) += op_model_fsl_booke.o
Andy Flemingdd6c89f2006-10-27 15:06:32 -050016oprofile-$(CONFIG_6xx) += op_model_7450.o