]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/mach-imx/Makefile
imx: introduce CONFIG_GPT_TIMER
[u-boot] / arch / arm / mach-imx / Makefile
index d77c10e176845965f98bf18b674f6654eac10e61..9322c1ce83502cffacba1b57e9dfb83bc1af70fa 100644 (file)
@@ -11,7 +11,8 @@ ifeq ($(SOC),$(filter $(SOC),mx25 mx35 mx5 mx6 mx7 vf610))
 obj-y  = iomux-v3.o
 endif
 ifeq ($(SOC),$(filter $(SOC),mx5 mx6))
-obj-y  += timer.o cpu.o speed.o
+obj-y  += cpu.o speed.o
+obj-$(CONFIG_GPT_TIMER) += timer.o
 obj-$(CONFIG_SYS_I2C_MXC) += i2c-mxv7.o
 endif
 ifeq ($(SOC),$(filter $(SOC),mx7 mx6 mxs))