diff options
Diffstat (limited to 'kernel/Makefile')
-rw-r--r-- | kernel/Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/kernel/Makefile b/kernel/Makefile index 6c55301112e0..f6328e16dfdd 100644 --- a/kernel/Makefile +++ b/kernel/Makefile | |||
@@ -11,6 +11,18 @@ 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 | CFLAGS_REMOVE_sched.o = -mno-spe | ||
15 | |||
16 | ifdef CONFIG_FTRACE | ||
17 | # Do not trace debug files and internal ftrace files | ||
18 | CFLAGS_REMOVE_lockdep.o = -pg | ||
19 | CFLAGS_REMOVE_lockdep_proc.o = -pg | ||
20 | CFLAGS_REMOVE_mutex-debug.o = -pg | ||
21 | CFLAGS_REMOVE_rtmutex-debug.o = -pg | ||
22 | CFLAGS_REMOVE_cgroup-debug.o = -pg | ||
23 | CFLAGS_REMOVE_sched_clock.o = -pg | ||
24 | endif | ||
25 | |||
14 | obj-$(CONFIG_SYSCTL_SYSCALL_CHECK) += sysctl_check.o | 26 | obj-$(CONFIG_SYSCTL_SYSCALL_CHECK) += sysctl_check.o |
15 | obj-$(CONFIG_STACKTRACE) += stacktrace.o | 27 | obj-$(CONFIG_STACKTRACE) += stacktrace.o |
16 | obj-y += time/ | 28 | obj-y += time/ |
@@ -69,6 +81,8 @@ obj-$(CONFIG_TASK_DELAY_ACCT) += delayacct.o | |||
69 | obj-$(CONFIG_TASKSTATS) += taskstats.o tsacct.o | 81 | 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 |
84 | obj-$(CONFIG_FTRACE) += trace/ | ||
85 | obj-$(CONFIG_TRACING) += trace/ | ||
72 | obj-$(CONFIG_SMP) += sched_cpupri.o | 86 | obj-$(CONFIG_SMP) += sched_cpupri.o |
73 | 87 | ||
74 | ifneq ($(CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER),y) | 88 | ifneq ($(CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER),y) |