Rebuild the module before loading it.
authorAntonio Ospite <ospite@studenti.unina.it>
Fri, 17 Dec 2010 10:18:44 +0000 (11:18 +0100)
committerAntonio Ospite <ospite@studenti.unina.it>
Fri, 17 Dec 2010 10:18:44 +0000 (11:18 +0100)
Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
Makefile

index fc47380..9629b26 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -13,7 +13,7 @@ clean:
 unload:
        -sudo rmmod kinect
        -sudo rmmod gspca_main
-load:
+load: all
        sudo modprobe gspca_main
        sudo insmod ./kinect.ko