diff --git a/board/sharp/common/Makefile b/board/sharp/common/Makefile index c0ffa51bcf..5a5bcbb31e 100644 --- a/board/sharp/common/Makefile +++ b/board/sharp/common/Makefile @@ -4,4 +4,6 @@ obj-$(CONFIG_VIDEO_MXS) += dma.o else obj- = __dummy__.o endif -obj-y := cpu_clkdiv.o \ No newline at end of file +ifdef CONFIG_ARCH_MX28 +obj-$(CONFIG_ARCH_MX28) += cpu_clkdiv.o +endif