diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-05-09 10:40:24 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-05-11 14:20:53 +0300 |
commit | 0d548a277c8ce29712161995985bb67cd1c35ff7 (patch) | |
tree | e897e722310071e35c9c50bfbf644267a1ec3777 /drivers/video/omap2/Makefile | |
parent | 44538b431517ebf4b0e8574cb727deb1a73652c8 (diff) | |
download | blackbird-op-linux-0d548a277c8ce29712161995985bb67cd1c35ff7.tar.gz blackbird-op-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/Makefile')
-rw-r--r-- | drivers/video/omap2/Makefile | 4 |
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/ |