summaryrefslogtreecommitdiff
path: root/drivers/video/fbdev/riva/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/fbdev/riva/Makefile')
-rw-r--r--drivers/video/fbdev/riva/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/video/fbdev/riva/Makefile b/drivers/video/fbdev/riva/Makefile
new file mode 100644
index 000000000000..8898c9915b02
--- /dev/null
+++ b/drivers/video/fbdev/riva/Makefile
@@ -0,0 +1,11 @@
+#
+# Makefile for the Riva framebuffer driver
+#
+
+obj-$(CONFIG_FB_RIVA) += rivafb.o
+
+rivafb-objs := fbdev.o riva_hw.o nv_driver.o
+
+ifdef CONFIG_FB_RIVA_I2C
+ rivafb-objs += rivafb-i2c.o
+endif