summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-mx2/Makefile')
-rw-r--r--arch/arm/mach-mx2/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-mx2/Makefile b/arch/arm/mach-mx2/Makefile
index 382d86080e86..950649a91540 100644
--- a/arch/arm/mach-mx2/Makefile
+++ b/arch/arm/mach-mx2/Makefile
@@ -4,7 +4,9 @@
# Object file lists.
-obj-y := system.o generic.o devices.o serial.o
+obj-y := generic.o devices.o serial.o
+
+obj-$(CONFIG_MACH_MX21) += clock_imx21.o
obj-$(CONFIG_MACH_MX27) += cpu_imx27.o
obj-$(CONFIG_MACH_MX27) += clock_imx27.o