If the `O` variable from Makefile — which allows to specify the output folder for the build process — is used when building Linux, it needs to be specified when building Nouveau, even when out-of-tree.
This patch doesn’t fix any issues but let the developers — who uses the `O` variable — avoid having to keep a custom patch around. Signed-off-by: Pierre Moreau <pierre.mor...@free.fr> --- drm/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drm/Makefile b/drm/Makefile index d5e23738..1f4ef45e 100644 --- a/drm/Makefile +++ b/drm/Makefile @@ -11,6 +11,9 @@ endif KBUILD_OPTS := M=$(CURDIR)/nouveau KBUILD_OPTS += KCPPFLAGS="-Iinclude/uapi/drm" +ifdef OUTPUTDIR + KBUILD_OPTS += O=$(OUTPUTDIR) +endif all: modules -- 2.14.1 _______________________________________________ Nouveau mailing list Nouveau@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/nouveau