diff options
Diffstat (limited to 'kernel/locking/Makefile')
-rw-r--r-- | kernel/locking/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/locking/Makefile b/kernel/locking/Makefile index fe8bd58b22f8..c103599fc1ba 100644 --- a/kernel/locking/Makefile +++ b/kernel/locking/Makefile | |||
@@ -2,8 +2,14 @@ | |||
2 | obj-y += mutex.o | 2 | obj-y += mutex.o |
3 | 3 | ||
4 | ifdef CONFIG_FUNCTION_TRACER | 4 | ifdef CONFIG_FUNCTION_TRACER |
5 | CFLAGS_REMOVE_lockdep.o = -pg | ||
6 | CFLAGS_REMOVE_lockdep_proc.o = -pg | ||
5 | CFLAGS_REMOVE_mutex-debug.o = -pg | 7 | CFLAGS_REMOVE_mutex-debug.o = -pg |
6 | CFLAGS_REMOVE_rtmutex-debug.o = -pg | 8 | CFLAGS_REMOVE_rtmutex-debug.o = -pg |
7 | endif | 9 | endif |
8 | 10 | ||
9 | obj-$(CONFIG_DEBUG_MUTEXES) += mutex-debug.o | 11 | obj-$(CONFIG_DEBUG_MUTEXES) += mutex-debug.o |
12 | obj-$(CONFIG_LOCKDEP) += lockdep.o | ||
13 | ifeq ($(CONFIG_PROC_FS),y) | ||
14 | obj-$(CONFIG_LOCKDEP) += lockdep_proc.o | ||
15 | endif | ||