Skip to content

Commit

Permalink
[PATCH] Merge arch/ppc*/oprofile/Makefile into arch/powerpc/oprofile
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
  • Loading branch information
Stephen Rothwell authored and Paul Mackerras committed Sep 21, 2005
1 parent bcdd1ea commit d9e5b83
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 23 deletions.
11 changes: 11 additions & 0 deletions arch/powerpc/oprofile/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
obj-$(CONFIG_OPROFILE) += oprofile.o

DRIVER_OBJS := $(addprefix ../../../drivers/oprofile/, \
oprof.o cpu_buffer.o buffer_sync.o \
event_buffer.o oprofile_files.o \
oprofilefs.o oprofile_stats.o \
timer_int.o )

oprofile-y := $(DRIVER_OBJS) common.o
oprofile-$(CONFIG_PPC64) += op_model_rs64.o op_model_power4.o
oprofile-$(CONFIG_FSL_BOOKE) += op_model_fsl_booke.o
15 changes: 1 addition & 14 deletions arch/ppc/oprofile/Makefile
Original file line number Diff line number Diff line change
@@ -1,14 +1 @@
obj-$(CONFIG_OPROFILE) += oprofile.o

DRIVER_OBJS := $(addprefix ../../../drivers/oprofile/, \
oprof.o cpu_buffer.o buffer_sync.o \
event_buffer.o oprofile_files.o \
oprofilefs.o oprofile_stats.o \
timer_int.o )

oprofile-y := $(DRIVER_OBJS) common.o

ifeq ($(CONFIG_FSL_BOOKE),y)
oprofile-y += op_model_fsl_booke.o
endif

include arch/powerpc/oprofile/Makefile
10 changes: 1 addition & 9 deletions arch/ppc64/oprofile/Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1 @@
obj-$(CONFIG_OPROFILE) += oprofile.o

DRIVER_OBJS := $(addprefix ../../../drivers/oprofile/, \
oprof.o cpu_buffer.o buffer_sync.o \
event_buffer.o oprofile_files.o \
oprofilefs.o oprofile_stats.o \
timer_int.o )

oprofile-y := $(DRIVER_OBJS) common.o op_model_rs64.o op_model_power4.o
include arch/powerpc/oprofile/Makefile

0 comments on commit d9e5b83

Please sign in to comment.