diff options
Diffstat (limited to 'kernel/Makefile')
-rw-r--r-- | kernel/Makefile | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/kernel/Makefile b/kernel/Makefile index 9e287d8ab766..e25ee775dc91 100644 --- a/kernel/Makefile +++ b/kernel/Makefile | |||
@@ -3,7 +3,7 @@ | |||
3 | # | 3 | # |
4 | 4 | ||
5 | obj-y = sched.o fork.o exec_domain.o panic.o printk.o profile.o \ | 5 | obj-y = sched.o fork.o exec_domain.o panic.o printk.o profile.o \ |
6 | exit.o itimer.o time.o softirq.o resource.o \ | 6 | cpu.o exit.o itimer.o time.o softirq.o resource.o \ |
7 | sysctl.o capability.o ptrace.o timer.o user.o \ | 7 | sysctl.o capability.o ptrace.o timer.o user.o \ |
8 | signal.o sys.o kmod.o workqueue.o pid.o \ | 8 | signal.o sys.o kmod.o workqueue.o pid.o \ |
9 | rcupdate.o extable.o params.o posix-timers.o \ | 9 | rcupdate.o extable.o params.o posix-timers.o \ |
@@ -11,6 +11,17 @@ obj-y = sched.o fork.o exec_domain.o panic.o printk.o profile.o \ | |||
11 | hrtimer.o rwsem.o nsproxy.o srcu.o semaphore.o \ | 11 | hrtimer.o rwsem.o nsproxy.o srcu.o semaphore.o \ |
12 | notifier.o ksysfs.o pm_qos_params.o sched_clock.o | 12 | notifier.o ksysfs.o pm_qos_params.o sched_clock.o |
13 | 13 | ||
14 | ifdef CONFIG_FTRACE | ||
15 | # Do not trace debug files and internal ftrace files | ||
16 | CFLAGS_REMOVE_lockdep.o = -pg | ||
17 | CFLAGS_REMOVE_lockdep_proc.o = -pg | ||
18 | CFLAGS_REMOVE_mutex-debug.o = -pg | ||
19 | CFLAGS_REMOVE_rtmutex-debug.o = -pg | ||
20 | CFLAGS_REMOVE_cgroup-debug.o = -pg | ||
21 | CFLAGS_REMOVE_sched_clock.o = -pg | ||
22 | CFLAGS_REMOVE_sched.o = -mno-spe -pg | ||
23 | endif | ||
24 | |||
14 | obj-$(CONFIG_SYSCTL_SYSCALL_CHECK) += sysctl_check.o | 25 | obj-$(CONFIG_SYSCTL_SYSCALL_CHECK) += sysctl_check.o |
15 | obj-$(CONFIG_STACKTRACE) += stacktrace.o | 26 | obj-$(CONFIG_STACKTRACE) += stacktrace.o |
16 | obj-y += time/ | 27 | obj-y += time/ |
@@ -27,7 +38,8 @@ obj-$(CONFIG_RT_MUTEXES) += rtmutex.o | |||
27 | obj-$(CONFIG_DEBUG_RT_MUTEXES) += rtmutex-debug.o | 38 | obj-$(CONFIG_DEBUG_RT_MUTEXES) += rtmutex-debug.o |
28 | obj-$(CONFIG_RT_MUTEX_TESTER) += rtmutex-tester.o | 39 | obj-$(CONFIG_RT_MUTEX_TESTER) += rtmutex-tester.o |
29 | obj-$(CONFIG_GENERIC_ISA_DMA) += dma.o | 40 | obj-$(CONFIG_GENERIC_ISA_DMA) += dma.o |
30 | obj-$(CONFIG_SMP) += cpu.o spinlock.o | 41 | obj-$(CONFIG_USE_GENERIC_SMP_HELPERS) += smp.o |
42 | obj-$(CONFIG_SMP) += spinlock.o | ||
31 | obj-$(CONFIG_DEBUG_SPINLOCK) += spinlock.o | 43 | obj-$(CONFIG_DEBUG_SPINLOCK) += spinlock.o |
32 | obj-$(CONFIG_PROVE_LOCKING) += spinlock.o | 44 | obj-$(CONFIG_PROVE_LOCKING) += spinlock.o |
33 | obj-$(CONFIG_UID16) += uid16.o | 45 | obj-$(CONFIG_UID16) += uid16.o |
@@ -70,6 +82,9 @@ obj-$(CONFIG_TASKSTATS) += taskstats.o tsacct.o | |||
70 | obj-$(CONFIG_MARKERS) += marker.o | 82 | obj-$(CONFIG_MARKERS) += marker.o |
71 | obj-$(CONFIG_LATENCYTOP) += latencytop.o | 83 | obj-$(CONFIG_LATENCYTOP) += latencytop.o |
72 | obj-$(CONFIG_HAVE_GENERIC_DMA_COHERENT) += dma-coherent.o | 84 | obj-$(CONFIG_HAVE_GENERIC_DMA_COHERENT) += dma-coherent.o |
85 | obj-$(CONFIG_FTRACE) += trace/ | ||
86 | obj-$(CONFIG_TRACING) += trace/ | ||
87 | obj-$(CONFIG_SMP) += sched_cpupri.o | ||
73 | 88 | ||
74 | ifneq ($(CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER),y) | 89 | ifneq ($(CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER),y) |
75 | # According to Alan Modra <alan@linuxcare.com.au>, the -fno-omit-frame-pointer is | 90 | # According to Alan Modra <alan@linuxcare.com.au>, the -fno-omit-frame-pointer is |