Merge branch 'cpuinit_phase2' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg...
[linux-2.6.git] / arch / sh / oprofile / Makefile
blobce3b119021e78cc527c47425f427475c3a4c238e
1 obj-$(CONFIG_OPROFILE) += oprofile.o
3 CFLAGS_common.o += -DUTS_MACHINE='"$(UTS_MACHINE)"'
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 )
11 ifeq ($(CONFIG_HW_PERF_EVENTS),y)
12 DRIVER_OBJS += $(addprefix ../../../drivers/oprofile/, oprofile_perf.o)
13 endif
15 oprofile-y := $(DRIVER_OBJS) common.o backtrace.o