aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/locking/Makefile
blob: c103599fc1ba6d665fd66f067d79c4e780ab26a9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

obj-y += mutex.o

ifdef CONFIG_FUNCTION_TRACER
CFLAGS_REMOVE_lockdep.o = -pg
CFLAGS_REMOVE_lockdep_proc.o = -pg
CFLAGS_REMOVE_mutex-debug.o = -pg
CFLAGS_REMOVE_rtmutex-debug.o = -pg
endif

obj-$(CONFIG_DEBUG_MUTEXES) += mutex-debug.o
obj-$(CONFIG_LOCKDEP) += lockdep.o
ifeq ($(CONFIG_PROC_FS),y)
obj-$(CONFIG_LOCKDEP) += lockdep_proc.o
endif