Makefile 436 B

12345678910111213141516
  1. obj-$(CONFIG_OPROFILE) += oprofile.o
  2. CFLAGS_common.o += -DUTS_MACHINE='"$(UTS_MACHINE)"'
  3. DRIVER_OBJS = $(addprefix ../../../drivers/oprofile/, \
  4. oprof.o cpu_buffer.o buffer_sync.o \
  5. event_buffer.o oprofile_files.o \
  6. oprofilefs.o oprofile_stats.o \
  7. timer_int.o )
  8. ifeq ($(CONFIG_HW_PERF_EVENTS),y)
  9. DRIVER_OBJS += $(addprefix ../../../drivers/oprofile/, oprofile_perf.o)
  10. endif
  11. oprofile-y := $(DRIVER_OBJS) common.o backtrace.o