diff options
-rw-r--r-- | arch/powerpc/oprofile/Makefile | 11 | ||||
-rw-r--r-- | arch/ppc/oprofile/Makefile | 15 | ||||
-rw-r--r-- | arch/ppc64/oprofile/Makefile | 10 |
3 files changed, 13 insertions, 23 deletions
diff --git a/arch/powerpc/oprofile/Makefile b/arch/powerpc/oprofile/Makefile new file mode 100644 index 000000000000..0782d0cca89c --- /dev/null +++ b/arch/powerpc/oprofile/Makefile | |||
@@ -0,0 +1,11 @@ | |||
1 | obj-$(CONFIG_OPROFILE) += oprofile.o | ||
2 | |||
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 | |||
9 | oprofile-y := $(DRIVER_OBJS) common.o | ||
10 | oprofile-$(CONFIG_PPC64) += op_model_rs64.o op_model_power4.o | ||
11 | oprofile-$(CONFIG_FSL_BOOKE) += op_model_fsl_booke.o | ||
diff --git a/arch/ppc/oprofile/Makefile b/arch/ppc/oprofile/Makefile index e2218d32a4eb..4bf75b776c5b 100644 --- a/arch/ppc/oprofile/Makefile +++ b/arch/ppc/oprofile/Makefile | |||
@@ -1,14 +1 @@ | |||
1 | obj-$(CONFIG_OPROFILE) += oprofile.o | include arch/powerpc/oprofile/Makefile | |
2 | |||
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 | |||
9 | oprofile-y := $(DRIVER_OBJS) common.o | ||
10 | |||
11 | ifeq ($(CONFIG_FSL_BOOKE),y) | ||
12 | oprofile-y += op_model_fsl_booke.o | ||
13 | endif | ||
14 | |||
diff --git a/arch/ppc64/oprofile/Makefile b/arch/ppc64/oprofile/Makefile index 162dbf06c142..4bf75b776c5b 100644 --- a/arch/ppc64/oprofile/Makefile +++ b/arch/ppc64/oprofile/Makefile | |||
@@ -1,9 +1 @@ | |||
1 | obj-$(CONFIG_OPROFILE) += oprofile.o | include arch/powerpc/oprofile/Makefile | |
2 | |||
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 | |||
9 | oprofile-y := $(DRIVER_OBJS) common.o op_model_rs64.o op_model_power4.o | ||