summaryrefslogtreecommitdiff
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 382d860..950649a 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