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 \
11 ifeq ($(CONFIG_HW_PERF_EVENTS
),y
)
12 DRIVER_OBJS
+= $(addprefix ..
/..
/..
/drivers
/oprofile
/, oprofile_perf.o
)
15 oprofile-y
:= $(DRIVER_OBJS
) common.o backtrace.o