summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv8/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/cpu/armv8/Makefile')
-rw-r--r--arch/arm/cpu/armv8/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv8/Makefile b/arch/arm/cpu/armv8/Makefile
index 12495474360..d18b38eb9e8 100644
--- a/arch/arm/cpu/armv8/Makefile
+++ b/arch/arm/cpu/armv8/Makefile
@@ -9,7 +9,7 @@ extra-y := start.o
obj-y += cpu.o
ifndef CONFIG_$(SPL_TPL_)TIMER
-obj-y += generic_timer.o
+obj-$(CONFIG_SYS_ARCH_TIMER) += generic_timer.o
endif
obj-y += cache_v8.o
obj-y += exceptions.o