summaryrefslogtreecommitdiffstats
path: root/drivers/video/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/Makefile')
-rw-r--r--drivers/video/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/drivers/video/Makefile b/drivers/video/Makefile
index 688f576cf..331343d15 100644
--- a/drivers/video/Makefile
+++ b/drivers/video/Makefile
@@ -89,7 +89,6 @@ obj-$(CONFIG_FB_TCX) += tcxfb.o sbusfb.o
obj-$(CONFIG_FB_CGFOURTEEN) += cgfourteenfb.o sbusfb.o
obj-$(CONFIG_FB_P9100) += p9100fb.o sbusfb.o
obj-$(CONFIG_FB_LEO) += leofb.o sbusfb.o
-obj-$(CONFIG_FB_SIS) += sisfb.o
ifeq ($(CONFIG_FB_MATROX),y)
SUB_DIRS += matrox
@@ -110,6 +109,16 @@ else
endif
endif
+ifeq ($(CONFIG_FB_SIS),y)
+SUB_DIRS += sis
+obj-y += sis/sisfb.o
+else
+ ifeq ($(CONFIG_FB_SIS),m)
+ MOD_SUB_DIRS += sis
+ endif
+endif
+
+
obj-$(CONFIG_FB_SUN3) += sun3fb.o
obj-$(CONFIG_FB_BWTWO) += bwtwofb.o
obj-$(CONFIG_FB_HGA) += hgafb.o