[PATCH] drm: Fix O= out-of-tree builds for selftests

Daniel Vetter daniel at ffwll.ch
Wed Dec 28 10:09:59 UTC 2016


On Wed, Dec 28, 2016 at 10:06:00AM +0000, Chris Wilson wrote:
> On Wed, Dec 28, 2016 at 10:41:17AM +0100, Daniel Vetter wrote:
> > Kbuild really doesn't like non-recursive Makefiles, but they do work
> > as long as you build without O=
> > 
> > Reported-by: kbuild test robot <fengguang.wu at intel.com>
> > Fixes: 50f0033d1a0f ("drm: Add some kselftests for the DRM range manager (struct drm_mm)")
> > Cc: Chris Wilson <chris at chris-wilson.co.uk>
> > Cc: Christian König <christian.koenig at amd.com>
> > Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com># Please enter the commit message for your changes. Lines starting
> > Signed-off-by: Daniel Vetter <daniel.vetter at intel.com>
> 
> That's a shame, but it gets us over the breakage so
> Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>

Thx for the review, applied.

> For the next set of selftests we should add a common
> CONFIG_DRM_SELFTESTS.

Yeah, one for all of them is probably enough.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


More information about the dri-devel mailing list