Skip to content

Commit

Permalink
use $< instead of hardcoding the module name
Browse files Browse the repository at this point in the history
  • Loading branch information
umlaeute committed Jan 9, 2024
1 parent a0b9df9 commit 1ddd627
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,10 @@ distclean: clean
rm -f man/v4l2loopback-ctl.1

modprobe: v4l2loopback.ko
-sudo chmod a+r v4l2loopback.ko
sudo modprobe videodev
-sudo rmmod v4l2loopback
sudo insmod ./v4l2loopback.ko $(MODULE_OPTIONS)
-sudo chmod a+r $<
-sudo modprobe videodev
-sudo rmmod $<
sudo insmod ./$< $(MODULE_OPTIONS)

man/v4l2loopback-ctl.1: utils/v4l2loopback-ctl
help2man -N --name "control v4l2 loopback devices" \
Expand Down

0 comments on commit 1ddd627

Please sign in to comment.