From: Mike Frysinger Date: Mon, 9 May 2011 14:40:24 +0000 (-0400) Subject: OMAP2: avoid descending into disabled framebuffer dirs X-Git-Tag: upstream/snapshot3+hdmi~10175^2~20^2~30 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0d548a277c8ce29712161995985bb67cd1c35ff7;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git 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 Signed-off-by: Tomi Valkeinen --- diff --git a/drivers/video/omap2/Makefile b/drivers/video/omap2/Makefile index d853d05..5ddef12 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/