diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2015-12-14 22:39:30 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2015-12-31 11:25:42 +0200 |
commit | e1c1174f8d5602b497bd237b7a937b58b58e6b95 (patch) | |
tree | 5c5c7ae91538593e4c1376c1f533e4779cddb1ae /drivers/gpu/drm/omapdrm/Makefile | |
parent | f8ef29ee45664e86805d4359e352a0a9acbd1d13 (diff) | |
download | linux-e1c1174f8d5602b497bd237b7a937b58b58e6b95.tar.bz2 |
drm: omapdrm: Make fbdev emulation optional
Don't compile the fbdev emulation code when fbdev emulation support is
disabled.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/Makefile')
-rw-r--r-- | drivers/gpu/drm/omapdrm/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/omapdrm/Makefile b/drivers/gpu/drm/omapdrm/Makefile index 778372b062ad..368c1ec6805a 100644 --- a/drivers/gpu/drm/omapdrm/Makefile +++ b/drivers/gpu/drm/omapdrm/Makefile @@ -12,10 +12,11 @@ omapdrm-y := omap_drv.o \ omap_encoder.o \ omap_connector.o \ omap_fb.o \ - omap_fbdev.o \ omap_gem.o \ omap_gem_dmabuf.o \ omap_dmm_tiler.o \ tcm-sita.o +omapdrm-$(CONFIG_DRM_FBDEV_EMULATION) += omap_fbdev.o + obj-$(CONFIG_DRM_OMAP) += omapdrm.o |