summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/gpu/drm/tilcdc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/gpu/drm/tilcdc/Makefile')
-rw-r--r--kernel/drivers/gpu/drm/tilcdc/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/kernel/drivers/gpu/drm/tilcdc/Makefile b/kernel/drivers/gpu/drm/tilcdc/Makefile
new file mode 100644
index 000000000..7d2eefe94
--- /dev/null
+++ b/kernel/drivers/gpu/drm/tilcdc/Makefile
@@ -0,0 +1,13 @@
+ccflags-y := -Iinclude/drm
+ifeq (, $(findstring -W,$(EXTRA_CFLAGS)))
+ ccflags-y += -Werror
+endif
+
+tilcdc-y := \
+ tilcdc_crtc.o \
+ tilcdc_tfp410.o \
+ tilcdc_slave.o \
+ tilcdc_panel.o \
+ tilcdc_drv.o
+
+obj-$(CONFIG_DRM_TILCDC) += tilcdc.o