Support unloading the module built from the full kernel
[gspca_kinect.git] / Makefile
index fc47380..df59efe 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -12,8 +12,9 @@ clean:
 
 unload:
        -sudo rmmod kinect
+       -sudo rmmod gspca_kinect
        -sudo rmmod gspca_main
-load:
+load: all
        sudo modprobe gspca_main
        sudo insmod ./kinect.ko