summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-common/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/blackfin/mach-common/Makefile')
-rw-r--r--arch/blackfin/mach-common/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/blackfin/mach-common/Makefile b/arch/blackfin/mach-common/Makefile
index 862cd73c9504..e6ed57c56d4b 100644
--- a/arch/blackfin/mach-common/Makefile
+++ b/arch/blackfin/mach-common/Makefile
@@ -4,8 +4,9 @@
obj-y := \
cache.o entry.o head.o \
- interrupt.o lock.o irqpanic.o arch_checks.o ints-priority.o
+ interrupt.o irqpanic.o arch_checks.o ints-priority.o
+obj-$(CONFIG_BFIN_ICACHE_LOCK) += lock.o
obj-$(CONFIG_PM) += pm.o dpmc_modes.o
obj-$(CONFIG_CPU_FREQ) += cpufreq.o
obj-$(CONFIG_CPU_VOLTAGE) += dpmc.o