[PATCH] drm: Hack around CONFIG_AGP=m build failures

2015-10-01 Thread Michal Marek
On 2015-10-01 16:50, Michal Marek wrote: > On 2015-10-01 12:17, Daniel Vetter wrote: >> On Thu, Oct 01, 2015 at 11:58:32AM +0200, Michal Marek wrote: >>> On 2015-10-01 10:19, Jani Nikula wrote: On Thu, 01 Oct 2015, Daniel Vetter wrote: > Surprisingly kbuild can't cope with tristates in th

[PATCH] drm: Hack around CONFIG_AGP=m build failures

2015-10-01 Thread Michal Marek
On 2015-10-01 12:17, Daniel Vetter wrote: > On Thu, Oct 01, 2015 at 11:58:32AM +0200, Michal Marek wrote: >> On 2015-10-01 10:19, Jani Nikula wrote: >>> On Thu, 01 Oct 2015, Daniel Vetter wrote: Surprisingly kbuild can't cope with tristates in the -$(CONFIG_FOO) pattern. This patch hacks

[PATCH] drm: Hack around CONFIG_AGP=m build failures

2015-10-01 Thread Daniel Vetter
On Thu, Oct 01, 2015 at 11:58:32AM +0200, Michal Marek wrote: > On 2015-10-01 10:19, Jani Nikula wrote: > > On Thu, 01 Oct 2015, Daniel Vetter wrote: > >> Surprisingly kbuild can't cope with tristates in the > >> -$(CONFIG_FOO) pattern. This patch hacks up a solution. > > > > Given that it's two

[PATCH] drm: Hack around CONFIG_AGP=m build failures

2015-10-01 Thread Michal Marek
On 2015-10-01 10:19, Jani Nikula wrote: > On Thu, 01 Oct 2015, Daniel Vetter wrote: >> Surprisingly kbuild can't cope with tristates in the >> -$(CONFIG_FOO) pattern. This patch hacks up a solution. > > Given that it's two distinct Makefile variables (foo-y and foo-m) being > assigned to, I don't

[PATCH] drm: Hack around CONFIG_AGP=m build failures

2015-10-01 Thread Jani Nikula
On Thu, 01 Oct 2015, Daniel Vetter wrote: > Surprisingly kbuild can't cope with tristates in the > -$(CONFIG_FOO) pattern. This patch hacks up a solution. Given that it's two distinct Makefile variables (foo-y and foo-m) being assigned to, I don't really find this surprising. Maybe this could be

[PATCH] drm: Hack around CONFIG_AGP=m build failures

2015-10-01 Thread Ville Syrjälä
On Thu, Oct 01, 2015 at 08:48:39AM +0200, Daniel Vetter wrote: > Surprisingly kbuild can't cope with tristates in the > -$(CONFIG_FOO) pattern. This patch hacks up a solution. > > Reported-by: Stephen Rothwell > Reported-by: Ville Syrjälä > Cc: Stephen Rothwell > Cc: Ville Syrjälä > Cc: Mi

[PATCH] drm: Hack around CONFIG_AGP=m build failures

2015-10-01 Thread Daniel Vetter
Surprisingly kbuild can't cope with tristates in the -$(CONFIG_FOO) pattern. This patch hacks up a solution. Reported-by: Stephen Rothwell Reported-by: Ville Syrjälä Cc: Stephen Rothwell Cc: Ville Syrjälä Cc: Michal Marek Cc: linux-kbuild at vger.kernel.org Signed-off-by: Daniel Vetter -