drm: Hack around CONFIG_AGP=m build failures
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 1 Oct 2015 06:44:24 +0000 (08:44 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 1 Oct 2015 06:44:24 +0000 (08:44 +0200)
commit8fa884dc355ffd0caa964a284a530bf747df5c77
treec796d1d0e4b3a47f64d1b335223606a0813821ee
parentc668cde5a3b5a1326923f341885ce9660d15091e
drm: Hack around CONFIG_AGP=m build failures

Surprisingly kbuild can't cope with tristates in the
<module>-$(CONFIG_FOO) pattern. This patch hacks up a solution.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Reported-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Michal Marek <mmarek@suse.com>
Cc: linux-kbuild@vger.kernel.org
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
drivers/gpu/drm/Makefile