Permalink
Browse files

Makefile fix

  • Loading branch information...
1 parent 372f97f commit 3483a918add2838dee66cbc12855c79df4b47e69 @an146 committed Feb 13, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 Makefile
View
@@ -8,9 +8,9 @@ obj-m := v4l2loopback.o
MODULE_OPTIONS = devices=2
-all: v4l2loopback v4l2loopback_io
+all: v4l2loopback.ko v4l2loopback_io
-v4l2loopback: Makefile
+v4l2loopback.ko: Makefile
@echo "Building v4l2-loopback driver..."
$(MAKE) -C $(KERNEL_DIR) M=$(PWD) modules
@@ -26,7 +26,7 @@ clean:
rm -f Module.symvers Module.markers modules.order
$(MAKE) -C $(KERNEL_DIR) M=$(PWD) clean
-modprobe: v4l2loopback
+modprobe: v4l2loopback.ko
chmod a+r v4l2loopback.ko
sudo modprobe videodev
-sudo rmmod $<

0 comments on commit 3483a91

Please sign in to comment.