Add a very simple install target. I expect there are more correct ways to
authorKeith Whitwell <keith@tungstengraphics.com>
Mon, 20 Dec 2004 11:57:10 +0000 (11:57 +0000)
committerKeith Whitwell <keith@tungstengraphics.com>
Mon, 20 Dec 2004 11:57:10 +0000 (11:57 +0000)
    do this.

linux-2.6/Makefile

index 7e86e84..dff0ac0 100644 (file)
@@ -279,6 +279,10 @@ clean cleandir:
 $(MODULE_LIST)::
        make DRM_MODULES=$@ modules
 
+install: 
+       cp -p $(MODULE_LIST:.o=.ko) /lib/modules/$(RUNNING_REL)/kernel/drivers/char/drm
+
+
 # Build test utilities
 
 PRGCFLAGS = $(CFLAGS) -g -ansi -pedantic -DPOSIX_C_SOURCE=199309L \