Title: [5908] trunk: Make the oprofile build path identical to other arch
- Revision
- 5908
- Author
- gyang
- Date
- 2008-12-20 00:30:02 -0600 (Sat, 20 Dec 2008)
Log Message
Make the oprofile build path identical to other arch
Modified Paths
Removed Paths
Diff
Modified: trunk/arch/blackfin/Makefile (5907 => 5908)
--- trunk/arch/blackfin/Makefile 2008-12-19 21:32:11 UTC (rev 5907)
+++ trunk/arch/blackfin/Makefile 2008-12-20 06:30:02 UTC (rev 5908)
@@ -107,7 +107,7 @@
core-y += arch/$(ARCH)/kernel/cplb-nompu/
endif
-core-$(CONFIG_OPROFILE) += arch/$(ARCH)/oprofile/
+drivers-$(CONFIG_OPROFILE) += arch/$(ARCH)/oprofile/
libs-y += arch/$(ARCH)/lib/
Modified: trunk/arch/blackfin/oprofile/Makefile (5907 => 5908)
--- trunk/arch/blackfin/oprofile/Makefile 2008-12-19 21:32:11 UTC (rev 5907)
+++ trunk/arch/blackfin/oprofile/Makefile 2008-12-20 06:30:02 UTC (rev 5908)
@@ -2,4 +2,12 @@
# arch/blackfin/oprofile/Makefile
#
-obj-$(CONFIG_OPROFILE) += bfin_oprofile.o
+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) bfin_oprofile.o
Modified: trunk/drivers/Makefile (5907 => 5908)
--- trunk/drivers/Makefile 2008-12-19 21:32:11 UTC (rev 5907)
+++ trunk/drivers/Makefile 2008-12-20 06:30:02 UTC (rev 5908)
@@ -102,4 +102,3 @@
obj-$(CONFIG_REGULATOR) += regulator/
obj-$(CONFIG_STAGING) += staging/
obj-$(CONFIG_UWB) += uwb/
-obj-$(CONFIG_OPROFILE) += oprofile/
Deleted: trunk/drivers/oprofile/Makefile (5907 => 5908)
--- trunk/drivers/oprofile/Makefile 2008-12-19 21:32:11 UTC (rev 5907)
+++ trunk/drivers/oprofile/Makefile 2008-12-20 06:30:02 UTC (rev 5908)
@@ -1,7 +0,0 @@
-#
-# drivers/oprofile/Makefile
-#
-obj-y := oprof.o cpu_buffer.o buffer_sync.o \
- event_buffer.o oprofile_files.o \
- oprofilefs.o oprofile_stats.o \
- timer_int.o
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
http://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits