Displaying 1 result from an estimated 1 matches for "1f4ef45e".
2017 Aug 15
0
[PATCH] drm/Makefile: Support custom output dir with O
...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.morrow at 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