summaryrefslogtreecommitdiffstats
path: root/drivers/char/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/Makefile')
-rw-r--r--drivers/char/Makefile18
1 files changed, 11 insertions, 7 deletions
diff --git a/drivers/char/Makefile b/drivers/char/Makefile
index 807db2c3d..0ef46c200 100644
--- a/drivers/char/Makefile
+++ b/drivers/char/Makefile
@@ -323,6 +323,14 @@ else
endif
endif
+ifeq ($(CONFIG_VIDEO_CQCAM),y)
+L_OBJS += c-qcam.o
+else
+ ifeq ($(CONFIG_VIDEO_CQCAM),m)
+ M_OBJS += c-qcam.o
+ endif
+endif
+
ifeq ($(CONFIG_VIDEO_PMS),y)
L_OBJS += pms.o
else
@@ -375,18 +383,14 @@ else
MX_OBJS += misc.o
endif
endif
-
+
ifdef CONFIG_VT
ifdef CONFIG_TGA_CONSOLE
L_OBJS += tga.o
else
- ifndef CONFIG_SUN_CONSOLE
- ifndef CONFIG_VIDEO_G364
- ifndef CONFIG_SGI
- L_OBJS += vga.o vesa_blank.o
- endif
+ ifdef CONFIG_VGA_CONSOLE
+ L_OBJS += vga.o vesa_blank.o
endif
- endif
endif
endif