rk30: Makefile: fix board.o define
author黄涛 <huangtao@rock-chips.com>
Thu, 7 Mar 2013 03:43:40 +0000 (11:43 +0800)
committer黄涛 <huangtao@rock-chips.com>
Thu, 7 Mar 2013 06:31:47 +0000 (14:31 +0800)
arch/arm/mach-rk30/Makefile

index 6f9db8b94c40e283726dff18ca2cbc551012929b..178d474071debecf6408504dd096cf2bccab2abb 100755 (executable)
@@ -26,8 +26,8 @@ obj-$(CONFIG_PM) += pm.o
 obj-$(CONFIG_CPU_IDLE) += cpuidle.o
 obj-$(CONFIG_DVFS) += dvfs.o
 obj-$(CONFIG_RK30_I2C_INSRAM) += i2c_sram.o
-obj-y += board.o
 
+obj-$(CONFIG_ARCH_RK30XX) += board.o
 board-$(CONFIG_MACH_RK3066_SDK) += board-rk30-sdk.o
 board-$(CONFIG_MACH_RK30_SDK) += board-rk30-sdk.o
 board-$(CONFIG_MACH_RK30_DS975) += board-rk30-ds975.o
@@ -38,11 +38,18 @@ obj-$(CONFIG_MACH_RK30_PHONE_LOQUAT) += board-rk30-phone-loquat.o board-rk30-pho
 obj-$(CONFIG_MACH_RK30_DS1001B) += board-rk30-ds1001b.o board-rk30-ds1001b-key.o board-rk30-ds1001b-rfkill.o
 obj-$(CONFIG_MACH_RK30_PHONE_A22) += board-rk30-phone-a22.o board-rk30-phone-a22-key.o 
 
+obj-$(CONFIG_SOC_RK3066B) += board.o
 board-$(CONFIG_MACH_RK3066B_FPGA) += board-rk3066b-fpga.o
 board-$(CONFIG_MACH_RK3066B_SDK) += board-rk3066b-sdk.o
 board-$(CONFIG_MACH_RK3066B_M701) += board-rk3066b-m701.o
+
+obj-$(CONFIG_SOC_RK3168M) += board.o
 board-$(CONFIG_MACH_RK3168M_TB) += board-rk3168m-tb.o
+
+obj-$(CONFIG_SOC_RK3108) += board.o
 board-$(CONFIG_MACH_RK3108_TB) += board-rk3108-tb.o
+
+obj-$(CONFIG_SOC_RK3168) += board.o
 board-$(CONFIG_MACH_RK3168_TB) += board-rk3168-tb.o
 board-$(CONFIG_MACH_RK3168_LR097) += board-rk3168-LR097.o
 board-$(CONFIG_MACH_RK3168_DS1006H) += board-rk3168-ds1006h.o