Add option to install hook via `make load HOOK=1`

This commit is contained in:
Adam Madsen 2020-11-10 00:11:26 -06:00
parent 2649176b4d
commit 2165913cef
1 changed files with 1 additions and 1 deletions

View File

@ -10,6 +10,6 @@ clean:
load: all
grep -q '^vendor_reset' /proc/modules && sudo rmmod vendor_reset || true
sudo insmod ./vendor-reset.ko
sudo insmod ./vendor-reset.ko $(if $(HOOK),install_hook=yes,)
.PHONY: userspace load