2013-11-01 01:11:53 +08:00
|
|
|
|
|
|
|
obj-y += mutex.o
|
|
|
|
|
|
|
|
ifdef CONFIG_FUNCTION_TRACER
|
2013-11-01 01:14:17 +08:00
|
|
|
CFLAGS_REMOVE_lockdep.o = -pg
|
|
|
|
CFLAGS_REMOVE_lockdep_proc.o = -pg
|
2013-11-01 01:11:53 +08:00
|
|
|
CFLAGS_REMOVE_mutex-debug.o = -pg
|
|
|
|
CFLAGS_REMOVE_rtmutex-debug.o = -pg
|
|
|
|
endif
|
|
|
|
|
|
|
|
obj-$(CONFIG_DEBUG_MUTEXES) += mutex-debug.o
|
2013-11-01 01:14:17 +08:00
|
|
|
obj-$(CONFIG_LOCKDEP) += lockdep.o
|
|
|
|
ifeq ($(CONFIG_PROC_FS),y)
|
|
|
|
obj-$(CONFIG_LOCKDEP) += lockdep_proc.o
|
|
|
|
endif
|