diff options
author | Troy Kisky <troy.kisky@boundarydevices.com> | 2012-07-19 08:18:25 +0000 |
---|---|---|
committer | Heiko Schocher <hs@denx.de> | 2012-07-31 08:00:57 +0200 |
commit | cc54a0f7cccf976d350801d39c406e75465ebdd1 (patch) | |
tree | c28139c6518e37fd16786cd011bbb5b5f0556a0b /arch/arm/cpu/armv7/imx-common/Makefile | |
parent | df369dcdb05729304761748856a2513d9ddac272 (diff) |
imx-common: add i2c.c for bus recovery support
Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Diffstat (limited to 'arch/arm/cpu/armv7/imx-common/Makefile')
-rw-r--r-- | arch/arm/cpu/armv7/imx-common/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv7/imx-common/Makefile b/arch/arm/cpu/armv7/imx-common/Makefile index 53296fa230..bf36be5767 100644 --- a/arch/arm/cpu/armv7/imx-common/Makefile +++ b/arch/arm/cpu/armv7/imx-common/Makefile @@ -27,7 +27,9 @@ include $(TOPDIR)/config.mk LIB = $(obj)libimx-common.o -COBJS = iomux-v3.o timer.o cpu.o speed.o +COBJS-y = iomux-v3.o timer.o cpu.o speed.o +COBJS-$(CONFIG_I2C_MXC) += i2c.o +COBJS := $(sort $(COBJS-y)) SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS)) |