OSDN Git Service

add an install target to the drm modules makefile
authorDave Airlie <airlied@linux.ie>
Thu, 5 Apr 2007 01:18:00 +0000 (11:18 +1000)
committerDave Airlie <airlied@linux.ie>
Thu, 5 Apr 2007 01:18:00 +0000 (11:18 +1000)
linux-core/Makefile

index bca8210..effc206 100644 (file)
@@ -237,6 +237,11 @@ dristat: dristat.c
 drmstat: drmstat.c
        $(CC) $(PRGCFLAGS) $< -o $@ $(DRMSTATLIBS)
 
+install:
+       echo "Installing DRM modules to "$(O)
+       install *.ko $(O)/driver/char/drm
+       depmod -a
+
 else
 
 # Check for kernel versions that we don't support.