2013-10-31 21:11:53 +04:00
|
|
|
|
2013-10-31 21:16:43 +04:00
|
|
|
obj-y += mutex.o semaphore.o
|
2013-10-31 21:11:53 +04:00
|
|
|
|
|
|
|
ifdef CONFIG_FUNCTION_TRACER
|
2013-10-31 21:14:17 +04:00
|
|
|
CFLAGS_REMOVE_lockdep.o = -pg
|
|
|
|
CFLAGS_REMOVE_lockdep_proc.o = -pg
|
2013-10-31 21:11:53 +04:00
|
|
|
CFLAGS_REMOVE_mutex-debug.o = -pg
|
|
|
|
CFLAGS_REMOVE_rtmutex-debug.o = -pg
|
|
|
|
endif
|
|
|
|
|
|
|
|
obj-$(CONFIG_DEBUG_MUTEXES) += mutex-debug.o
|
2013-10-31 21:14:17 +04:00
|
|
|
obj-$(CONFIG_LOCKDEP) += lockdep.o
|
|
|
|
ifeq ($(CONFIG_PROC_FS),y)
|
|
|
|
obj-$(CONFIG_LOCKDEP) += lockdep_proc.o
|
|
|
|
endif
|
2013-10-31 21:15:36 +04:00
|
|
|
obj-$(CONFIG_SMP) += spinlock.o
|
|
|
|
obj-$(CONFIG_PROVE_LOCKING) += spinlock.o
|
|
|
|
obj-$(CONFIG_DEBUG_SPINLOCK) += spinlock.o
|
|
|
|
obj-$(CONFIG_DEBUG_SPINLOCK) += spinlock_debug.o
|