* [patch 24/24] perfmon: Makefiles
@ 2008-11-25 21:36 eranian
0 siblings, 0 replies; 2+ messages in thread
From: eranian @ 2008-11-25 21:36 UTC (permalink / raw)
To: linux-kernel
This patch adds the makefiles for the perfmon generic
and x86 code.
Signed-off-by: Stephane Eranian <eranian@gmail.com>
--
Index: o3/Makefile
===================================================================
--- o3.orig/Makefile 2008-11-25 18:09:47.000000000 +0100
+++ o3/Makefile 2008-11-25 18:15:34.000000000 +0100
@@ -621,6 +621,8 @@
ifeq ($(KBUILD_EXTMOD),)
core-y += kernel/ mm/ fs/ ipc/ security/ crypto/ block/
+core-$(CONFIG_PERFMON) += perfmon/
+
vmlinux-dirs := $(patsubst %/,%,$(filter %/, $(init-y) $(init-m) \
$(core-y) $(core-m) $(drivers-y) $(drivers-m) \
$(net-y) $(net-m) $(libs-y) $(libs-m)))
Index: o3/perfmon/Makefile
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ o3/perfmon/Makefile 2008-11-25 18:15:34.000000000 +0100
@@ -0,0 +1,10 @@
+#
+# Copyright (c) 2005-2006 Hewlett-Packard Development Company, L.P.
+# Contributed by Stephane Eranian <eranian@gmail.com>
+#
+obj-y = perfmon_ctx.o perfmon_file.o \
+ perfmon_attach.o perfmon_res.o \
+ perfmon_init.o perfmon_activate.o \
+ perfmon_intr.o perfmon_rw.o \
+ perfmon_ctxsw.o perfmon_pmu.o \
+ perfmon_syscalls.o perfmon_sysfs.o
Index: o3/arch/x86/Kconfig
===================================================================
--- o3.orig/arch/x86/Kconfig 2008-11-25 18:09:47.000000000 +0100
+++ o3/arch/x86/Kconfig 2008-11-25 18:15:34.000000000 +0100
@@ -1487,6 +1487,8 @@
This is used to work around broken boot loaders. This should
be set to 'N' under normal conditions.
+source "arch/x86/perfmon/Kconfig"
+
endmenu
config ARCH_ENABLE_MEMORY_HOTPLUG
Index: o3/arch/x86/Makefile
===================================================================
--- o3.orig/arch/x86/Makefile 2008-11-25 18:09:47.000000000 +0100
+++ o3/arch/x86/Makefile 2008-11-25 18:15:34.000000000 +0100
@@ -150,6 +150,9 @@
core-y += arch/x86/kernel/
core-y += arch/x86/mm/
+# perfmon support
+core-$(CONFIG_PERFMON) += arch/x86/perfmon/
+
# Remaining sub architecture files
core-y += $(mcore-y)
--
^ permalink raw reply [flat|nested] 2+ messages in thread
* [patch 24/24] perfmon: Makefiles
@ 2008-11-26 8:43 eranian
0 siblings, 0 replies; 2+ messages in thread
From: eranian @ 2008-11-26 8:43 UTC (permalink / raw)
To: linux-kernel; +Cc: akpm, mingo, x86, andi, eranian, sfr
This patch adds the makefiles for the perfmon generic
and x86 code.
Signed-off-by: Stephane Eranian <eranian@gmail.com>
--
Index: o3/Makefile
===================================================================
--- o3.orig/Makefile 2008-11-25 18:09:47.000000000 +0100
+++ o3/Makefile 2008-11-25 18:15:34.000000000 +0100
@@ -621,6 +621,8 @@
ifeq ($(KBUILD_EXTMOD),)
core-y += kernel/ mm/ fs/ ipc/ security/ crypto/ block/
+core-$(CONFIG_PERFMON) += perfmon/
+
vmlinux-dirs := $(patsubst %/,%,$(filter %/, $(init-y) $(init-m) \
$(core-y) $(core-m) $(drivers-y) $(drivers-m) \
$(net-y) $(net-m) $(libs-y) $(libs-m)))
Index: o3/perfmon/Makefile
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ o3/perfmon/Makefile 2008-11-25 18:15:34.000000000 +0100
@@ -0,0 +1,10 @@
+#
+# Copyright (c) 2005-2006 Hewlett-Packard Development Company, L.P.
+# Contributed by Stephane Eranian <eranian@gmail.com>
+#
+obj-y = perfmon_ctx.o perfmon_file.o \
+ perfmon_attach.o perfmon_res.o \
+ perfmon_init.o perfmon_activate.o \
+ perfmon_intr.o perfmon_rw.o \
+ perfmon_ctxsw.o perfmon_pmu.o \
+ perfmon_syscalls.o perfmon_sysfs.o
Index: o3/arch/x86/Kconfig
===================================================================
--- o3.orig/arch/x86/Kconfig 2008-11-25 18:09:47.000000000 +0100
+++ o3/arch/x86/Kconfig 2008-11-25 18:15:34.000000000 +0100
@@ -1487,6 +1487,8 @@
This is used to work around broken boot loaders. This should
be set to 'N' under normal conditions.
+source "arch/x86/perfmon/Kconfig"
+
endmenu
config ARCH_ENABLE_MEMORY_HOTPLUG
Index: o3/arch/x86/Makefile
===================================================================
--- o3.orig/arch/x86/Makefile 2008-11-25 18:09:47.000000000 +0100
+++ o3/arch/x86/Makefile 2008-11-25 18:15:34.000000000 +0100
@@ -150,6 +150,9 @@
core-y += arch/x86/kernel/
core-y += arch/x86/mm/
+# perfmon support
+core-$(CONFIG_PERFMON) += arch/x86/perfmon/
+
# Remaining sub architecture files
core-y += $(mcore-y)
--
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-11-26 8:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-25 21:36 [patch 24/24] perfmon: Makefiles eranian
-- strict thread matches above, loose matches on Subject: below --
2008-11-26 8:43 eranian
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.