The kernel version of the DRM drivers installs everything to
kernel/drivers/char/drm, but the out-of-tree version sticks them in
extras/, which isn't very nice.

diff --git a/linux-core/Makefile b/linux-core/Makefile
index af29bd6..d478bb1 100644
--- a/linux-core/Makefile
+++ b/linux-core/Makefile
@@ -33,6 +33,8 @@
 
 SHELL=/bin/sh
 
+INSTALL_MOD_DIR = kernel/drivers/char/drm
+
 .SUFFIXES:
 
 ifndef LINUXDIR
@@ -237,8 +239,8 @@ dristat: dristat.c
 drmstat: drmstat.c
        $(CC) $(PRGCFLAGS) $< -o $@ $(DRMSTATLIBS)
 
-install:
-       make -C $(LINUXDIR) $(GETCONFIG) SUBDIRS=`pwd` DRMSRCDIR=`pwd` 
modules_install
+install modules_install:
+       make -C $(LINUXDIR) $(GETCONFIG) INSTALL_MOD_DIR=$(INSTALL_MOD_DIR) 
SUBDIRS=`pwd` DRMSRCDIR=`pwd` modules_install
 
 else
 


-- 
[EMAIL PROTECTED]

Attachment: signature.asc
Description: This is a digitally signed message part

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to