summaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2
diff options
context:
space:
mode:
authorMike Frysinger2011-05-09 16:40:24 +0200
committerTomi Valkeinen2011-05-11 13:20:53 +0200
commit0d548a277c8ce29712161995985bb67cd1c35ff7 (patch)
treee897e722310071e35c9c50bfbf644267a1ec3777 /drivers/video/omap2
parentOMAP: DSS2: Remove DSS_IRQSTATUS (diff)
downloadkernel-qcow2-linux-0d548a277c8ce29712161995985bb67cd1c35ff7.tar.gz
kernel-qcow2-linux-0d548a277c8ce29712161995985bb67cd1c35ff7.tar.xz
kernel-qcow2-linux-0d548a277c8ce29712161995985bb67cd1c35ff7.zip
OMAP2: avoid descending into disabled framebuffer dirs
Rather than always add the omap2 dirs to the build list (and thus force everyone to generate a useless built-in.o), bind the dirs to their relevant kconfig symbol. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/omap2')
-rw-r--r--drivers/video/omap2/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/omap2/Makefile b/drivers/video/omap2/Makefile
index d853d05dad31..5ddef129f798 100644
--- a/drivers/video/omap2/Makefile
+++ b/drivers/video/omap2/Makefile
@@ -1,6 +1,6 @@
obj-$(CONFIG_OMAP2_VRAM) += vram.o
obj-$(CONFIG_OMAP2_VRFB) += vrfb.o
-obj-y += dss/
-obj-y += omapfb/
+obj-$(CONFIG_OMAP2_DSS) += dss/
+obj-$(CONFIG_FB_OMAP2) += omapfb/
obj-y += displays/