rk: camera: fix Makefile for pack kernel
author黄涛 <huangtao@rock-chips.com>
Thu, 29 Mar 2012 07:42:27 +0000 (15:42 +0800)
committer黄涛 <huangtao@rock-chips.com>
Thu, 29 Mar 2012 07:42:27 +0000 (15:42 +0800)
drivers/media/video/Makefile

index 85e7797e4dac43718a840696a7a51689c35feb53..f2d11b6d83a2583a27fc9e3c4e46dc8126b4cd7a 100755 (executable)
@@ -189,10 +189,14 @@ obj-$(CONFIG_VIDEO_MX1)                   += mx1_camera.o
 obj-$(CONFIG_VIDEO_MX2)                        += mx2_camera.o
 obj-$(CONFIG_VIDEO_MX3)                        += mx3_camera.o
 obj-$(CONFIG_VIDEO_PXA27x)             += pxa_camera.o
+ifeq ($(CONFIG_ARCH_RK30),y)
 obj-$(CONFIG_VIDEO_RK29_WORK_ONEFRAME) += rk30_camera_oneframe.o
 obj-$(CONFIG_VIDEO_RK29_WORK_PINGPONG) += rk30_camera_pingpong.o
+endif
+ifeq ($(CONFIG_ARCH_RK29),y)
 obj-$(CONFIG_VIDEO_RK29_WORK_ONEFRAME)    += rk29_camera_oneframe.o
 obj-$(CONFIG_VIDEO_RK29_WORK_PINGPONG)    += rk29_camera_pingpong.o
+endif
 
 obj-$(CONFIG_VIDEO_RK29XX_VOUT)                += rk29xx/
 obj-$(CONFIG_VIDEO_SH_MOBILE_CSI2)     += sh_mobile_csi2.o